[media] drx-d: add missing braces in drxd_hard.c:DRXD_init
No functional changes, but removes a duplicate check, if !state->type_A. Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Родитель
c4cfb29303
Коммит
73b8922fef
|
@ -2688,11 +2688,11 @@ static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size)
|
|||
status = EnableAndResetMB(state);
|
||||
if (status < 0)
|
||||
break;
|
||||
if (state->type_A)
|
||||
if (state->type_A) {
|
||||
status = ResetCEFR(state);
|
||||
if (status < 0)
|
||||
break;
|
||||
|
||||
}
|
||||
if (fw) {
|
||||
status = DownloadMicrocode(state, fw, fw_size);
|
||||
if (status < 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче