From: Antti Palosaari Date: Sun, 20 Dec 2015 02:57:20 +0000 (-0200) Subject: [media] rtl2832: do not filter out slave TS null packets X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4020c18a94dda9a5a52059f00ae582eada67b810;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] rtl2832: do not filter out slave TS null packets 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c index 60250cc84900..10f2119935da 100644 --- a/drivers/media/dvb-frontends/rtl2832.c +++ b/drivers/media/dvb-frontends/rtl2832.c @@ -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;