summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drxd_hard.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-09-04 23:51:48 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 06:56:48 -0300
commit73b8922fefed64c9bcb70e25b30a069bb9e61f40 (patch)
treecae268c4581366f2de8b431815ae2cebc06adf45 /drivers/media/dvb-frontends/drxd_hard.c
parentc4cfb29303ddf26dab0b754d26f0917db90f8144 (diff)
downloadtalos-op-linux-73b8922fefed64c9bcb70e25b30a069bb9e61f40.tar.gz
talos-op-linux-73b8922fefed64c9bcb70e25b30a069bb9e61f40.zip
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/drxd_hard.c')
-rw-r--r--drivers/media/dvb-frontends/drxd_hard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c
index 959ae36403b8..5b87ece69414 100644
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -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)
OpenPOWER on IntegriCloud