Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73b8922f authored by Dave Jones's avatar Dave Jones Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent c4cfb293
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)