[media] tuners/xc5000: fix MODE_AIR in xc5000_set_params()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 13 Jan 2013 18:31:33 +0000 (15:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 23:01:50 +0000 (21:01 -0200)
There is a missing break so we use XC_RF_MODE_CABLE instead of
XC_RF_MODE_AIR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/xc5000.c

index dc93cf338f366fb3a2200ff0656ca290547f168c..d6be1b613c52b66ddbed0622343a11d962f2a8aa 100644 (file)
@@ -785,6 +785,7 @@ static int xc5000_set_params(struct dvb_frontend *fe)
                        return -EINVAL;
                }
                priv->rf_mode = XC_RF_MODE_AIR;
+               break;
        case SYS_DVBC_ANNEX_A:
        case SYS_DVBC_ANNEX_C:
                dprintk(1, "%s() QAM modulation\n", __func__);