From: Antti Palosaari Date: Thu, 7 Apr 2011 18:45:38 +0000 (-0300) Subject: [media] tda18271: add DVB-C support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9d0bc1c08d205008e9414a0853e4aca8b07168a;p=linux-beck.git [media] tda18271: add DVB-C support Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- 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, tda_warn("bandwidth not set!\n"); return -EINVAL; } + } else if (fe->ops.info.type == FE_QAM) { + /* DVB-C */ + map = &std_map->qam_8; + bw = 8000000; } else { tda_warn("modulation type not supported!\n"); return -EINVAL;