OSDN Git Service

media: em28xx: disable null packet filter for WinTVdualHD
authorRobert Schlabbach <Robert.Schlabbach@gmx.net>
Mon, 25 Jun 2018 10:33:58 +0000 (06:33 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 20:23:12 +0000 (16:23 -0400)
This patch disables the null packet filter for the Hauppauge
WinTV-dualHD. There are applications which require the unfiltered
transport stream (e.g. DOCSIS segment load analyzers).

Tests showed that the device is capable of delivering two unfiltered
EuroDOCSIS 3.0 transport streams simultaneously, i.e. over 100 Mbit/s
worth of data, without any losses.

Signed-off-by: Robert Schlabbach <Robert.Schlabbach@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/em28xx/em28xx-cards.c

index afdc929..98a4287 100644 (file)
@@ -543,7 +543,7 @@ static const struct em28xx_reg_seq hauppauge_dualhd_dvb[] = {
        {EM2874_R80_GPIO_P0_CTRL,      0xff, 0xff,    100},
        {EM2874_R80_GPIO_P0_CTRL,      0xdf, 0xff,    100}, /* demod 2 reset */
        {EM2874_R80_GPIO_P0_CTRL,      0xff, 0xff,    100},
-       {EM2874_R5F_TS_ENABLE,         0x44, 0xff,     50},
+       {EM2874_R5F_TS_ENABLE,         0x00, 0xff,     50}, /* disable TS filters */
        {EM2874_R5D_TS1_PKT_SIZE,      0x05, 0xff,     50},
        {EM2874_R5E_TS2_PKT_SIZE,      0x05, 0xff,     50},
        {-1,                             -1,   -1,     -1},