mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] media: uvcvideo: Support partial control reads and minor changes
@ 2024-10-08  7:06 Ricardo Ribalda
  2024-10-08  7:06 ` [PATCH 1/3] media: uvcvideo: Support partial control reads Ricardo Ribalda
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ricardo Ribalda @ 2024-10-08  7:06 UTC (permalink / raw)
  To: Laurent Pinchart, Mauro Carvalho Chehab
  Cc: linux-media, linux-kernel, Ricardo Ribalda, stable

Some cameras do not return all the bytes requested from a control
if it can fit in less bytes. Eg: returning 0xab instead of 0x00ab.
Support these devices.

Also, now that we are at it, improve uvc_query_ctrl().

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (3):
      media: uvcvideo: Support partial control reads
      media: uvcvideo: Refactor uvc_query_ctrl
      media: uvcvideo: Add more logging to uvc_query_ctrl_error()

 drivers/media/usb/uvc/uvc_video.c | 44 +++++++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 16 deletions(-)
---
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
change-id: 20241008-uvc-readless-23f9b8cad0b3

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-10-08 14:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08  7:06 [PATCH 0/3] media: uvcvideo: Support partial control reads and minor changes Ricardo Ribalda
2024-10-08  7:06 ` [PATCH 1/3] media: uvcvideo: Support partial control reads Ricardo Ribalda
2024-10-08 11:52   ` Sakari Ailus
2024-10-08  7:06 ` [PATCH 2/3] media: uvcvideo: Refactor uvc_query_ctrl Ricardo Ribalda
2024-10-08 12:01   ` Sakari Ailus
2024-10-08 13:22     ` Ricardo Ribalda
2024-10-08 13:31       ` Sakari Ailus
2024-10-08 13:38         ` Ricardo Ribalda
2024-10-08 14:53           ` Sakari Ailus
2024-10-08  7:06 ` [PATCH 3/3] media: uvcvideo: Add more logging to uvc_query_ctrl_error() Ricardo Ribalda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®