The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: rcar-isp: Fix ISPCORE resource leaks
@ 2026-08-04 10:24 Linmao Li
  2026-08-04 10:24 ` [PATCH v2 1/2] media: rcar-isp: Release ISPCORE resources Linmao Li
  2026-08-04 10:24 ` [PATCH v2 2/2] media: rcar-isp: Fix VSPX reference leaks Linmao Li
  0 siblings, 2 replies; 5+ messages in thread
From: Linmao Li @ 2026-08-04 10:24 UTC (permalink / raw)
  To: Niklas Söderlund, Mauro Carvalho Chehab, Geert Uytterhoeven,
	Magnus Damm
  Cc: Jacopo Mondi, Sakari Ailus, linux-media, linux-renesas-soc,
	linux-kernel, Linmao Li

This series fixes resource leaks in the recently added ISPCORE support.

The patch order is swapped compared to v1. The VSPX reference is now
released explicitly rather than through a devm action, and it belongs at
the end of the error chain introduced by the resource cleanup patch, so
that patch comes first.

Changes in v2:
- Swap the patch order so the VSPX cleanup extends the error chain added
  by the first patch.
- Release the VSPX reference explicitly on the probe error paths and in
  the remove path instead of using a devm action (Niklas).
- Drop the Fixes tags because the ISPCORE support has not reached a
  release yet (Jacopo).
- Collect Reviewed-by tags on patch 1.

Linmao Li (2):
  media: rcar-isp: Release ISPCORE resources
  media: rcar-isp: Fix VSPX reference leaks

 .../media/platform/renesas/rcar-isp/core.c    | 29 ++++++++++++++-----
 1 file changed, 22 insertions(+), 7 deletions(-)


base-commit: 31152f5b0f8719f92063b8c6196cd5e34106c73d
-- 
2.25.1


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

end of thread, other threads:[~2026-08-06 10:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 10:24 [PATCH v2 0/2] media: rcar-isp: Fix ISPCORE resource leaks Linmao Li
2026-08-04 10:24 ` [PATCH v2 1/2] media: rcar-isp: Release ISPCORE resources Linmao Li
2026-08-04 10:24 ` [PATCH v2 2/2] media: rcar-isp: Fix VSPX reference leaks Linmao Li
2026-08-06  9:33   ` Jacopo Mondi
2026-08-06 10:28     ` Sakari Ailus

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