summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/si2157.c
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2014-10-30 13:43:16 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-30 14:06:28 +0300
commit0d1165fcafaf42b153857ba6e21200fdd8c9543a (patch)
treedb75b493f9845279121c8b0c2dd393d9df4106fc /drivers/media/tuners/si2157.c
parent1b07a77f6e1ebaebe7601fa734ff415fdf568ebb (diff)
downloadlinux-0d1165fcafaf42b153857ba6e21200fdd8c9543a.tar.xz
[media] si2157: add support for SYS_DVBC_ANNEX_B
Set the property for delivery system also in case of SYS_DVBC_ANNEX_B. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver. Signed-off-by: Olli Salonen <olli.salonen@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/si2157.c')
-rw-r--r--drivers/media/tuners/si2157.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index cf97142e01e6..b086b87d0890 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -250,6 +250,9 @@ static int si2157_set_params(struct dvb_frontend *fe)
case SYS_ATSC:
delivery_system = 0x00;
break;
+ case SYS_DVBC_ANNEX_B:
+ delivery_system = 0x10;
+ break;
case SYS_DVBT:
case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */
delivery_system = 0x20;