Commit 63952e8c authored by Andreas Oberritter's avatar Andreas Oberritter Committed by Mauro Carvalho Chehab

[media] DVB: drxd_hard: handle new bandwidths by returning -EINVAL

drivers/media/dvb/frontends/drxd_hard.c: In function ‘DRX_Start’:
drivers/media/dvb/frontends/drxd_hard.c:2327: warning: enumeration value ‘BANDWIDTH_5_MHZ’ not handled in switch
drivers/media/dvb/frontends/drxd_hard.c:2327: warning: enumeration value ‘BANDWIDTH_10_MHZ’ not handled in switch
drivers/media/dvb/frontends/drxd_hard.c:2327: warning: enumeration value ‘BANDWIDTH_1_712_MHZ’ not handled in switch

[mchehab@redhat.com: removed the status = status assignment after the switch]
Signed-off-by: default avatarAndreas Oberritter <obi@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 94d56ffa
...@@ -2348,8 +2348,9 @@ static int DRX_Start(struct drxd_state *state, s32 off) ...@@ -2348,8 +2348,9 @@ static int DRX_Start(struct drxd_state *state, s32 off)
status = Write16(state, status = Write16(state,
FE_AG_REG_IND_DEL__A, 71, 0x0000); FE_AG_REG_IND_DEL__A, 71, 0x0000);
break; break;
default:
status = -EINVAL;
} }
status = status;
if (status < 0) if (status < 0)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment