[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250224-uvc-data-backup-v2-0-de993ed9823b@chromium.org>
Date: Mon, 24 Feb 2025 10:34:52 +0000
From: Ricardo Ribalda <ribalda@...omium.org>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Hans de Goede <hdegoede@...hat.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Ricardo Ribalda <ribalda@...omium.org>, stable@...nel.org
Subject: [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
Signed-off-by: Ricardo Ribalda <ribalda@...omium.org>
---
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/20241210-uvc-data-backup-v1-0-77141e439cc3@chromium.org
---
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,
--
Ricardo Ribalda <ribalda@...omium.org>
Powered by blists - more mailing lists