This set fixes a bug in uvc_alloc_urb_buffers() and two more style
patches.
The first patch was Reported by Itay, who asked if I could prepare and
send the patch on his behalf.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (3):
media: uvcvideo: Fix allocation for small frame sizes
media: uvcvideo: Pass allocation size directly to uvc_alloc_urb_buffer
media: uvcvideo: use min() for npacket calculation
drivers/media/usb/uvc/uvc_video.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
---
base-commit: 17526c7e69d07395e9d39794aacba42dcb02ff49
change-id: 20260114-uvc-alloc-urb-d1a0c617106a
Best regards,
--
Ricardo Ribalda <ribalda@chromium.org>