linux/drivers/media
Brad Love a7853c257a media: em28xx: Fix dual transport stream operation
Addresses the following, which introduced a regression itself:

Commit 509f89652f ("media: em28xx: fix a regression with HVR-950")

The regression fix breaks dual transport stream support. Currently,
when a tuner starts streaming it sets alt mode on the USB interface.
The problem is, in a dual tuner model, both tuners share the same
USB interface, so when the second tuner becomes active and sets alt
mode on the interface it kills streaming on the other port.

This patch addresses the regression by only setting alt mode
on the USB interface during em28xx_start_streaming, if the
device is not a dual tuner model. This allows all older and
single tuner devices to explicitly set alt mode during stream
startup. Testers report both isoc and bulk DualHD models work
correctly with the alt mode set only once, in em28xx_dvb_init.

Fixes: 509f89652f ("media: em28xx: fix a regression with HVR-950")
Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Michael Ira Krufky <mkrufky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-27 06:39:57 -04:00
..
cec media: cec: add support for 5V signal testing 2018-07-25 07:11:48 -04:00
common media: videobuf2-core: check for q->error in vb2_core_qbuf() 2018-07-24 17:51:39 -04:00
dvb-core media: mark entity-intf links as IMMUTABLE 2018-07-04 08:40:49 -04:00
dvb-frontends media: dvb: point to the location of the old README.dvb-usb file 2018-06-15 18:10:01 -03:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: video-i2c: add hwmon support for amg88xx 2018-07-25 08:33:53 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: dvb-bt8xx: remove duplicate code 2018-07-27 06:39:57 -04:00
platform media: vicodec: current -> cur 2018-07-27 06:39:57 -04:00
radio media: si4713: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
rc media: bpf: ensure bpf program is freed on detach 2018-07-13 11:07:29 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: tuner-simple: allow setting mono radio mode 2018-07-04 09:49:27 -04:00
usb media: em28xx: Fix dual transport stream operation 2018-07-27 06:39:57 -04:00
v4l2-core media: v4l2-mem2mem: add v4l2_m2m_last_buf() 2018-07-25 08:10:31 -04:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: add flags field to struct media_v2_entity 2018-07-25 07:46:24 -04:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00