]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] rtl2832: do not filter out slave TS null packets
authorAntti Palosaari <crope@iki.fi>
Sun, 20 Dec 2015 02:57:20 +0000 (00:57 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Dec 2015 16:12:31 +0000 (14:12 -0200)
Do not remove slave TS NULL padding PID (0x1fff) by default as
there is no real need. After that whole TS is passed to kernel sw
PID filter.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/rtl2832.c

index 60250cc849007db6b7f49353ab7bbf37ea00eb0a..10f2119935da8b69402dc21cae1c040e6f8aadf4 100644 (file)
@@ -1100,18 +1100,6 @@ static int rtl2832_enable_slave_ts(struct i2c_client *client)
        if (ret)
                goto err;
 
-       ret = rtl2832_bulk_write(client, 0x022, "\x01", 1);
-       if (ret)
-               goto err;
-
-       ret = rtl2832_bulk_write(client, 0x026, "\x1f", 1);
-       if (ret)
-               goto err;
-
-       ret = rtl2832_bulk_write(client, 0x027, "\xff", 1);
-       if (ret)
-               goto err;
-
        ret = rtl2832_bulk_write(client, 0x192, "\x7f\xf7\xff", 3);
        if (ret)
                goto err;