From: Olli Salonen Date: Sun, 17 Aug 2014 05:24:49 +0000 (-0300) Subject: [media] si2157: Add support for delivery system SYS_ATSC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cd62db71dcf3a4722959d9f90ca4c5ca09502cb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] si2157: Add support for delivery system SYS_ATSC Set the property for delivery system also in case of SYS_ATSC. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index 2281b7d1f1b5..efb5cced30a5 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si2157.c @@ -238,6 +238,9 @@ static int si2157_set_params(struct dvb_frontend *fe) bandwidth = 0x0f; switch (c->delivery_system) { + case SYS_ATSC: + delivery_system = 0x00; + break; case SYS_DVBT: case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */ delivery_system = 0x20;