[media] DVB: drxd_hard: handle new bandwidths by returning -EINVAL
authorAndreas Oberritter <obi@linuxtv.org>
Fri, 20 May 2011 21:56:23 +0000 (18:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 22:04:49 +0000 (19:04 -0300)
commit63952e8c4ae7f3272cd37321a71428f3637f650f
treea24159b3abc6f3d3b854c38c5f860bfd1307d4b8
parent94d56ffa0a9bf11dfb602dae9223089e09a8e050
[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: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxd_hard.c