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 <mche...@redhat.com>
---
 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 489ae82..9debf0f 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,
                        default:                c->operand[13] = 0x2; break;
                        }
                        switch (fdtv->fe.dtv_property_cache.rolloff) {
-                       case ROLLOFF_AUTO:      c->operand[14] = 0x2; break;
                        case ROLLOFF_35:        c->operand[14] = 0x2; break;
                        case ROLLOFF_20:        c->operand[14] = 0x0; break;
                        case ROLLOFF_25:        c->operand[14] = 0x1; break;
+                       case ROLLOFF_AUTO:
+                       default:                c->operand[14] = 0x2; break;
                        /* case ROLLOFF_NONE:   c->operand[14] = 0xff; break; */
                        }
                        switch (fdtv->fe.dtv_property_cache.pilot) {
-- 
1.7.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to