diff mbox series

[3/3] media: si2157: add support for DVB-C Annex C

Message ID trinity-fd7dd9e4-c319-4761-89b6-555fa7b23776-1641509569422@3c-app-gmx-bap68
State Accepted
Commit 8d4ff8187bb2b0c9025269f0da42ed16c878cb18
Headers show
Series [1/3] media: si2157: fix 6MHz & 6.1MHz bandwidth setting | expand

Commit Message

Robert Schlabbach Jan. 6, 2022, 10:52 p.m. UTC
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.

Signed-off-by: Robert Schlabbach <robert_s@gmx.net>
---
 drivers/media/tuners/si2157.c | 1 +
 1 file changed, 1 insertion(+)

--
2.17.1
diff mbox series

Patch

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: