summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157.c
diff options
context:
space:
mode:
authorRobert Schlabbach <robert_s@gmx.net>2022-01-06 23:52:49 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-01-10 15:56:50 +0100
commit8d4ff8187bb2b0c9025269f0da42ed16c878cb18 (patch)
tree3bf42c8b5d03349f1a681369c1fea270f0d193c3 /drivers/media/tuners/si2157.c
parentmedia: si2157: fix bandwidth stored in dev (diff)
downloadlinux-8d4ff8187bb2b0c9025269f0da42ed16c878cb18.tar.xz
linux-8d4ff8187bb2b0c9025269f0da42ed16c878cb18.zip
media: si2157: add support for DVB-C Annex C
DVB-C Annex C is mostly DVB-C Annex A with only minor differences, so simply add it to the DVB-C Annex A switch case, so that tuning attempts no longer result in -EINVAL. Link: https://lore.kernel.org/linux-media/trinity-fd7dd9e4-c319-4761-89b6-555fa7b23776-1641509569422@3c-app-gmx-bap68 Signed-off-by: Robert Schlabbach <robert_s@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/tuners/si2157.c')
-rw-r--r--drivers/media/tuners/si2157.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index b1e00b635dbf..47029746b89e 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -490,6 +490,7 @@ static int si2157_set_params(struct dvb_frontend *fe)
delivery_system = 0x20;
break;
case SYS_DVBC_ANNEX_A:
+ case SYS_DVBC_ANNEX_C:
delivery_system = 0x30;
break;
case SYS_ISDBT: