summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-10 15:16:32 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-14 18:19:04 +0300
commit6446a22a16699fdebb8a9fa4a8157bb54bf30514 (patch)
treeb67f7376381d28dffddd74c6879916101fff616e /drivers/media
parent805d5a089673cdab794bad561f239384d3f3cc78 (diff)
downloadlinux-6446a22a16699fdebb8a9fa4a8157bb54bf30514.tar.xz
media: si2157: add support for ISDB-T and DTMB
Those two delivery systems are supported by some of the si2146 tuners, but the current code is missing the setup for those. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/tuners/si2157.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index 7e44cba67c38..aeecb38b147f 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -483,6 +483,12 @@ static int si2157_set_params(struct dvb_frontend *fe)
case SYS_DVBC_ANNEX_A:
delivery_system = 0x30;
break;
+ case SYS_ISDBT:
+ delivery_system = 0x40;
+ break;
+ case SYS_DTMB:
+ delivery_system = 0x60;
+ break;
default:
ret = -EINVAL;
goto err;