summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHenrik Ingo <henrik.ingo@avoinelama.fi>2016-05-29 17:58:00 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-24 13:12:49 -0200
commite950267ab802c8558f1100eafd4087fd039ad634 (patch)
tree6e334a5e53099091be74773f01719e02162f3bf8 /drivers/media/usb/pwc/pwc-if.c
parent3907fae86ebabd622bd8265285d5b612d5958948 (diff)
downloadlinux-stable-e950267ab802c8558f1100eafd4087fd039ad634.tar.gz
linux-stable-e950267ab802c8558f1100eafd4087fd039ad634.tar.bz2
linux-stable-e950267ab802c8558f1100eafd4087fd039ad634.zip
[media] uvcvideo: uvc_scan_fallback() for webcams with broken chain
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>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions