summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-10 13:16:32 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-14 16:19:04 +0100
commit6446a22a16699fdebb8a9fa4a8157bb54bf30514 (patch)
treeb67f7376381d28dffddd74c6879916101fff616e /drivers/media/tuners/si2157.c
parentmedia: si2157: get rid of chiptype data (diff)
downloadlinux-6446a22a16699fdebb8a9fa4a8157bb54bf30514.tar.xz
linux-6446a22a16699fdebb8a9fa4a8157bb54bf30514.zip
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/tuners/si2157.c')
-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;