]> git.baikalelectronics.ru Git - kernel.git/commit
media: em28xx: fix a regression with HVR-950
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Mar 2018 12:21:45 +0000 (07:21 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 15:00:54 +0000 (11:00 -0400)
commit35de053965b2139b327170d0e1a7420bf749613f
treecdf3b81862ebb63c36eba425dd14b4996b5e5cd7
parenteac19ec00697d3adde082c75b7e0bb47e37ecbf9
media: em28xx: fix a regression with HVR-950

Commit 02a2ddf8a10a ("media: em28xx: Hauppauge DualHD second tuner
functionality") removed the logic with sets the alternate for the DVB
device. Without setting the right alternate, the device won't be
able to submit URBs, and userspace fails with -EMSGSIZE:

ERROR     DMX_SET_PES_FILTER failed (PID = 0x2000): 90 Message too long

Tested with Hauppauge HVR-950 model A1C0.

Fixes: 02a2ddf8a10a ("media: em28xx: Hauppauge DualHD second tuner functionality")
Cc: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/em28xx/em28xx-dvb.c