[media] si2157: add support for SYS_DVBC_ANNEX_B
authorOlli Salonen <olli.salonen@iki.fi>
Thu, 30 Oct 2014 10:43:16 +0000 (07:43 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 11:06:28 +0000 (09:06 -0200)
Set the property for delivery system also in case of SYS_DVBC_ANNEX_B.
This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q
Windows driver.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/si2157.c

index cf97142..b086b87 100644 (file)
@@ -250,6 +250,9 @@ static int si2157_set_params(struct dvb_frontend *fe)
        case SYS_ATSC:
                        delivery_system = 0x00;
                        break;
+       case SYS_DVBC_ANNEX_B:
+                       delivery_system = 0x10;
+                       break;
        case SYS_DVBT:
        case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */
                        delivery_system = 0x20;