aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-02-04 01:29:07 (GMT)
committerMichael Krufky <mkrufky@linuxtv.org>2013-02-04 01:29:07 (GMT)
commitc4aa7196096580b706321956a243400370721142 (patch)
tree86500a80dc6e8b4fcd67929ae4867435fe5913b2
parent24dec5dabfcc1d424d7bc86d393d31f57ebcc975 (diff)
xc5000: fix MODE_AIR in xc5000_set_params()xc5000
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: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--drivers/media/tuners/xc5000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c
index dc93cf3..d6be1b6 100644
--- a/drivers/media/tuners/xc5000.c
+++ b/drivers/media/tuners/xc5000.c
@@ -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__);

Privacy Policy