[PATCH v2 0/2] media: rcar-isp: Fix ISPCORE resource leaks

Linmao Li posted 2 patches 1 month, 4 weeks ago
.../media/platform/renesas/rcar-isp/core.c    | 29 ++++++++++++++-----
1 file changed, 22 insertions(+), 7 deletions(-)
[PATCH v2 0/2] media: rcar-isp: Fix ISPCORE resource leaks
Posted by Linmao Li 1 month, 4 weeks ago
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