linux/drivers/media
Henrik Ingo bd2de45031 uvcvideo: uvc_scan_fallback() for webcams with broken chain
[ Upstream commit e950267ab8 ]

Some devices have invalid baSourceID references, causing uvc_scan_chain()
to fail, but if we just take the entities we can find and put them
together in the most sensible chain we can think of, turns out they do
work anyway. Note: This heuristic assumes there is a single chain.

At the time of writing, devices known to have such a broken chain are
  - Acer Integrated Camera (5986:055a)
  - Realtek rtl157a7 (0bda:57a7)

Signed-off-by: Henrik Ingo <henrik.ingo@avoinelama.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-03-22 12:43:38 +01:00
..
common [media] v4l2-tpg-core: drop SYCC, use higher precision 601 conversion matrix 2016-08-24 08:36:11 -03:00
dvb-core [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvb-frontends cxd2820r: fix gpio null pointer dereference 2017-03-12 06:41:41 +01:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c s5k4ecgx: select CRC32 helper 2017-02-01 08:33:12 +01:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci media: fix dm1105.c build error 2017-03-12 06:41:41 +01:00
platform am437x-vpfe: always assign bpp variable 2017-03-12 06:41:40 +01:00
radio [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
rc rc: raw decoder for keymap protocol is not loaded on register 2017-03-18 19:14:34 +08:00
spi gs1662: drop kfree for memory allocated with devm_kzalloc 2017-01-26 08:24:45 +01:00
tuners xc2028: Fix use-after-free bug properly 2016-11-23 21:04:26 -02:00
usb uvcvideo: uvc_scan_fallback() for webcams with broken chain 2017-03-22 12:43:38 +01:00
v4l2-core Merge branch 'gup_flag-cleanups' 2016-10-19 08:39:47 -07:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
Kconfig [media] media Kconfig: improve the spi integration 2016-09-19 14:37:05 -03:00
Makefile [media] Add GS1662 driver, a video serializer 2016-09-19 14:36:24 -03:00
media-device.c media: Properly pass through media entity types in entity enumeration 2017-03-12 06:41:41 +01:00
media-devnode.c [media] media: fix media devnode ioctl/syscall and unregister race 2016-06-15 17:59:28 -03:00
media-entity.c [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00