public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] media: uvcvideo: Two fixes for async controls
@ 2024-11-27 12:14 Ricardo Ribalda
  2024-11-27 12:14 ` [PATCH v2 1/4] media: uvcvideo: Remove dangling pointers Ricardo Ribalda
  2024-11-27 12:14 ` [PATCH v2 2/4] media: uvcvideo: Do not set an async control owned by other fh Ricardo Ribalda
  0 siblings, 2 replies; 44+ messages in thread
From: Ricardo Ribalda @ 2024-11-27 12:14 UTC (permalink / raw)
  To: Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab,
	Guennadi Liakhovetski
  Cc: Mauro Carvalho Chehab, linux-media, linux-kernel, Ricardo Ribalda,
	stable

This patchset fixes two bugs with the async controls for the uvc driver.

They were found while implementing the granular PM, but I am sending
them as a separate patches, so they can be reviewed sooner. They fix
real issues in the driver that need to be taken care.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v2:
- Annotate lockdep
- ctrl->handle != handle
- Change order of patches
- Move documentation of mutex
- Link to v1: https://lore.kernel.org/r/20241127-uvc-fix-async-v1-0-eb8722531b8c@chromium.org

---
Ricardo Ribalda (4):
      media: uvcvideo: Remove dangling pointers
      media: uvcvideo: Do not set an async control owned by other fh
      media: uvcvideo: Annotate lock requirements for uvc_ctrl_set
      media: uvcvideo: Remove redundant NULL assignment

 drivers/media/usb/uvc/uvc_ctrl.c | 48 +++++++++++++++++++++++++++++++++++-----
 drivers/media/usb/uvc/uvc_v4l2.c |  2 ++
 drivers/media/usb/uvc/uvcvideo.h |  8 ++++++-
 3 files changed, 52 insertions(+), 6 deletions(-)
---
base-commit: 72ad4ff638047bbbdf3232178fea4bec1f429319
change-id: 20241127-uvc-fix-async-2c9d40413ad8

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


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

end of thread, other threads:[~2024-12-04 13:46 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27 12:14 [PATCH v2 0/4] media: uvcvideo: Two fixes for async controls Ricardo Ribalda
2024-11-27 12:14 ` [PATCH v2 1/4] media: uvcvideo: Remove dangling pointers Ricardo Ribalda
2024-11-28 22:16   ` Laurent Pinchart
2024-11-28 22:25     ` Ricardo Ribalda
2024-11-28 22:28       ` Laurent Pinchart
2024-11-29  0:21         ` Ricardo Ribalda
2024-11-29 21:22     ` Ricardo Ribalda
2024-11-27 12:14 ` [PATCH v2 2/4] media: uvcvideo: Do not set an async control owned by other fh Ricardo Ribalda
2024-11-28 22:22   ` Laurent Pinchart
2024-11-28 22:28     ` Ricardo Ribalda
2024-11-28 22:33       ` Laurent Pinchart
2024-11-29 10:36         ` Hans Verkuil
2024-11-29 10:59           ` Ricardo Ribalda
2024-11-29 11:06             ` Laurent Pinchart
2024-11-29 11:54               ` Ricardo Ribalda
2024-11-29 13:13                 ` Hans Verkuil
2024-11-29 13:41                   ` Ricardo Ribalda
2024-11-29 18:47                     ` Ricardo Ribalda
2024-11-29 22:03                       ` Laurent Pinchart
2024-11-29 22:18                         ` Ricardo Ribalda
2024-12-02  0:18                           ` Laurent Pinchart
2024-12-02  7:28                             ` Ricardo Ribalda
2024-12-02  8:38                               ` Laurent Pinchart
2024-12-02 10:11                                 ` Ricardo Ribalda
2024-12-02  8:05                             ` Hans Verkuil
2024-12-02  8:11                               ` Laurent Pinchart
2024-12-02  8:44                                 ` Hans Verkuil
2024-12-02 10:26                                   ` Hans de Goede
2024-12-02 10:50                                     ` Ricardo Ribalda
2024-12-02 12:19                                       ` Hans de Goede
2024-12-02 13:29                                         ` Ricardo Ribalda
2024-12-03 19:32                                           ` Laurent Pinchart
2024-12-04 13:46                                             ` Hans de Goede
2024-12-02 10:55                                     ` Hans Verkuil
2024-12-03 17:18                                       ` Laurent Pinchart
2024-12-04  7:59                                         ` Hans Verkuil
2024-12-04  8:04                                           ` Hans Verkuil
2024-12-04  9:13                                             ` Laurent Pinchart
2024-12-04  9:02                                           ` Laurent Pinchart
2024-11-29 13:10               ` Hans Verkuil
2024-11-29 13:32                 ` Hans Verkuil
2024-11-29 13:37                 ` Ricardo Ribalda
2024-11-29 21:47                   ` Laurent Pinchart
2024-11-29 11:01           ` Laurent Pinchart

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