diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 12:04:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 12:04:18 -0500 |
commit | 4a5006f68d6b336564eb1e4cbb1f66d234958889 (patch) | |
tree | 92182e1bb0b9d8defb5caf5f1518d01f40c4972d | |
parent | 8503232f2e9604d844d8f52ddea2e55ccc6c38f6 (diff) |
[media] firedtv-avc: Fix compilation warnings
drivers/media/dvb/firewire/firedtv-avc.c: In function ‘avc_tuner_tuneqpsk’:
drivers/media/dvb/firewire/firedtv-avc.c:394:4: warning: enumeration value ‘ROLLOFF_15’ not handled in switch [-Wswitch]
drivers/media/dvb/firewire/firedtv-avc.c:394:4: warning: enumeration value ‘ROLLOFF_13’ not handled in switch [-Wswitch]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/firewire/firedtv-avc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-avc.c b/drivers/media/dvb/firewire/firedtv-avc.c index 489ae8245867..9debf0f9a137 100644 --- a/drivers/media/dvb/firewire/firedtv-avc.c +++ b/drivers/media/dvb/firewire/firedtv-avc.c | |||
@@ -392,10 +392,11 @@ static int avc_tuner_tuneqpsk(struct firedtv *fdtv, | |||
392 | default: c->operand[13] = 0x2; break; | 392 | default: c->operand[13] = 0x2; break; |
393 | } | 393 | } |
394 | switch (fdtv->fe.dtv_property_cache.rolloff) { | 394 | switch (fdtv->fe.dtv_property_cache.rolloff) { |
395 | case ROLLOFF_AUTO: c->operand[14] = 0x2; break; | ||
396 | case ROLLOFF_35: c->operand[14] = 0x2; break; | 395 | case ROLLOFF_35: c->operand[14] = 0x2; break; |
397 | case ROLLOFF_20: c->operand[14] = 0x0; break; | 396 | case ROLLOFF_20: c->operand[14] = 0x0; break; |
398 | case ROLLOFF_25: c->operand[14] = 0x1; break; | 397 | case ROLLOFF_25: c->operand[14] = 0x1; break; |
398 | case ROLLOFF_AUTO: | ||
399 | default: c->operand[14] = 0x2; break; | ||
399 | /* case ROLLOFF_NONE: c->operand[14] = 0xff; break; */ | 400 | /* case ROLLOFF_NONE: c->operand[14] = 0xff; break; */ |
400 | } | 401 | } |
401 | switch (fdtv->fe.dtv_property_cache.pilot) { | 402 | switch (fdtv->fe.dtv_property_cache.pilot) { |