media: si2157: add support for ISDB-T and DTMB
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 10 Dec 2021 12:16:32 +0000 (13:16 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Dec 2021 15:19:04 +0000 (16:19 +0100)
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>
drivers/media/tuners/si2157.c

index 7e44cba..aeecb38 100644 (file)
@@ -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;