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>
This commit is contained in:
Mauro Carvalho Chehab 2021-12-10 13:16:32 +01:00
parent 805d5a0896
commit 6446a22a16

View 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;