From: Mauro Carvalho Chehab Date: Thu, 5 Jul 2012 17:07:59 +0000 (-0300) Subject: [media] xc5000: Add support for DMB-TH and ISDB-T X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5cf73ce15f704876378733794864336fbec6c97e;p=openwrt%2Fstaging%2Fblogic.git [media] xc5000: Add support for DMB-TH and ISDB-T xc5000 is just a tuner, not a decoder, so both DMB-TH and ISDB-T should work properly there: it is just a matter of teaching the driver what saw filter should be used and how to calculate the center frequency. Requested-by: Choi Wing Chan Cc: Steven Toth Cc: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index dcca42ca57be..bac8009e1d49 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c @@ -717,6 +717,12 @@ static int xc5000_set_params(struct dvb_frontend *fe) priv->freq_hz = freq - 1750000; priv->video_standard = DTV6; break; + case SYS_ISDBT: + /* All ISDB-T are currently for 6 MHz bw */ + if (!bw) + bw = 6000000; + /* fall to OFDM handling */ + case SYS_DMBTH: case SYS_DVBT: case SYS_DVBT2: dprintk(1, "%s() OFDM\n", __func__);