aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-04-07 14:45:38 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 08:30:05 -0400
commitf9d0bc1c08d205008e9414a0853e4aca8b07168a (patch)
tree7f0639c75884a5d04c3d634fbc39edccf5445899 /drivers/media/common
parente0bae9b33a406465bce6f38e9aaeef1ebfcfb461 (diff)
[media] tda18271: add DVB-C support
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/tda18271-fe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c
index d884f5eee73c..57022e88e338 100644
--- a/drivers/media/common/tuners/tda18271-fe.c
+++ b/drivers/media/common/tuners/tda18271-fe.c
@@ -976,6 +976,10 @@ static int tda18271_set_params(struct dvb_frontend *fe,
976 tda_warn("bandwidth not set!\n"); 976 tda_warn("bandwidth not set!\n");
977 return -EINVAL; 977 return -EINVAL;
978 } 978 }
979 } else if (fe->ops.info.type == FE_QAM) {
980 /* DVB-C */
981 map = &std_map->qam_8;
982 bw = 8000000;
979 } else { 983 } else {
980 tda_warn("modulation type not supported!\n"); 984 tda_warn("modulation type not supported!\n");
981 return -EINVAL; 985 return -EINVAL;