media: uvcvideo: Make sure the ctrl cache is in sync with the device
Get series with b4
b4 am [email protected] change-id 20241210-uvc-data-backup-a0a76df9aee9Versions newest first
- v2 Latest3 patches 8 repliesIn review
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Fix commit message (Thanks Laurent).
- Change logic for err_ctrl. It looks nicer now.
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: uvcvideo: Return the number of processed controlsdrivers/ | +10 | 1 reply | |
| 2/3 | media: uvcvideo: Send control events for partial succeedsdrivers/ | +9 | 2 replies | |
| 3/3 | media: uvcvideo: Rollback non processed entities on errordrivers/ | +22 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Pinchart | Hans de Goede |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] media: uvcvideo: Make sure the ctrl cache is in sync with the device
Hans discovered a bug in the error handling of uvc_ctrl_commit(), lets fix it.
It has been tested with v4l2-compliance -d /dev/video0
---
Changes in v2:
- Fix commit message (Thanks Laurent).
- Change logic for err_ctrl. It looks nicer now.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Ricardo Ribalda (3):
media: uvcvideo: Return the number of processed controls
media: uvcvideo: Send control events for partial succeeds
media: uvcvideo: Rollback non processed entities on error
drivers/media/usb/uvc/uvc_ctrl.c | 53 ++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 13 deletions(-)
---
base-commit: c2b96a6818159fba8a3bcc38262da9e77f9b3ec7
change-id: 20241210-uvc-data-backup-a0a76df9aee9
Best regards,
Signature · 1 line
Ricardo Ribalda <[email protected]>