aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-07-05 13:07:59 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-05 13:22:13 -0400
commit5cf73ce15f704876378733794864336fbec6c97e (patch)
treefc0aa14ffbd1defb5a9fd50177a1ae196ffee1bc /drivers/media/common
parent8cd0d4caa1b4e8f150f9c63bd2be60518381d3f1 (diff)
[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 <chanchoiwing@gmail.com> Cc: Steven Toth <stoth@linuxtv.org> Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/xc5000.c6
1 files changed, 6 insertions, 0 deletions
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)
717 priv->freq_hz = freq - 1750000; 717 priv->freq_hz = freq - 1750000;
718 priv->video_standard = DTV6; 718 priv->video_standard = DTV6;
719 break; 719 break;
720 case SYS_ISDBT:
721 /* All ISDB-T are currently for 6 MHz bw */
722 if (!bw)
723 bw = 6000000;
724 /* fall to OFDM handling */
725 case SYS_DMBTH:
720 case SYS_DVBT: 726 case SYS_DVBT:
721 case SYS_DVBT2: 727 case SYS_DVBT2:
722 dprintk(1, "%s() OFDM\n", __func__); 728 dprintk(1, "%s() OFDM\n", __func__);