linux_dsm_epyc7002/drivers/media/video/uvc
Stephan Lachowsky 38a66824d9 [media] uvcvideo: Fix uvc_fixup_video_ctrl() format search
The scheme used to index format in uvc_fixup_video_ctrl() is not robust:
format index is based on descriptor ordering, which does not necessarily
match bFormatIndex ordering.  Searching for first matching format will
prevent uvc_fixup_video_ctrl() from using the wrong format/frame to make
adjustments.

Signed-off-by: Stephan Lachowsky <stephan.lachowsky@maxim-ic.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 06:51:05 -03:00
..
Kconfig V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' 2009-04-06 21:44:52 -03:00
Makefile V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected 2008-07-02 08:58:15 -03:00
uvc_ctrl.c [media] uvcvideo: Lock controls mutex when querying menus 2010-12-01 20:10:21 -02:00
uvc_driver.c [media] uvcvideo: Remove sysadmin requirements for UVCIOC_CTRL_MAP 2010-10-21 01:18:22 -02:00
uvc_isight.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_queue.c [media] uvcvideo: Move mmap() handler to uvc_queue.c 2010-12-01 20:10:23 -02:00
uvc_status.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_v4l2.c [media] V4L: remove V4L1 compatibility mode 2010-12-29 08:17:07 -02:00
uvc_video.c [media] uvcvideo: Fix uvc_fixup_video_ctrl() format search 2011-03-22 06:51:05 -03:00
uvcvideo.h [media] uvcvideo: Lock stream mutex when accessing format-related information 2010-12-01 20:10:24 -02:00