Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'media/v6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

Pull media fix from Mauro Carvalho Chehab:

- uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in
uvc_parse_format

* tag 'media/v6.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format

+1 -1
+1 -1
drivers/media/usb/uvc/uvc_driver.c
··· 371 371 * Parse the frame descriptors. Only uncompressed, MJPEG and frame 372 372 * based formats have frame descriptors. 373 373 */ 374 - while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && 374 + while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE && 375 375 buffer[2] == ftype) { 376 376 unsigned int maxIntervalIndex; 377 377