kernel_samsung_a53x/drivers/media/usb/uvc
Michal Pecio ce1c9222fe media: uvcvideo: Fix the bandwdith quirk on USB 3.x
[ Upstream commit 9e3d55fbd160b3ca376599a68b4cddfdc67d4153 ]

The bandwidth fixup quirk doesn't know that SuperSpeed exists and has
the same 8 service intervals per millisecond as High Speed, hence its
calculations are wrong.

Assume that all speeds from HS up use 8 intervals per millisecond.

No further changes are needed, updated code has been confirmed to work
with all speeds from FS to SS.

Signed-off-by: Michal Pecio <michal.pecio@gmail.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240414190040.2255a0bc@foxbook
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:24 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_ctrl.c media: uvcvideo: Override default flags 2024-11-23 23:20:09 +01:00
uvc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_driver.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_entity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_isight.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_metadata.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_status.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_v4l2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc_video.c media: uvcvideo: Fix the bandwdith quirk on USB 3.x 2024-11-23 23:20:24 +01:00
uvcvideo.h media: uvcvideo: Allow entity-defined get_info and get_cur 2024-11-23 23:20:09 +01:00