aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2014-08-17 01:24:49 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-02 14:46:14 -0400
commit5cd62db71dcf3a4722959d9f90ca4c5ca09502cb (patch)
treedaf723115becd83cc13d8a4b5836af2db9c214ce /drivers/media
parente395e573b3ca028271fb2ee7edf614d45913d948 (diff)
[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 <olli.salonen@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/tuners/si2157.c3
1 files changed, 3 insertions, 0 deletions
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)
238 bandwidth = 0x0f; 238 bandwidth = 0x0f;
239 239
240 switch (c->delivery_system) { 240 switch (c->delivery_system) {
241 case SYS_ATSC:
242 delivery_system = 0x00;
243 break;
241 case SYS_DVBT: 244 case SYS_DVBT:
242 case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */ 245 case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */
243 delivery_system = 0x20; 246 delivery_system = 0x20;