diff options
| author | Linmao Li <lilinmao@kylinos.cn> | 2026-08-04 18:24:31 +0800 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-08-06 13:25:48 +0300 |
| commit | 8a6e017c06fbc1b96af618e82a4d35889d442964 (patch) | |
| tree | b9b2c13342a08d26882d45803dc030ac243e5f54 /tools/perf/scripts/python | |
| parent | ea76b4e6a331312508792980087e8d2f55c24bb1 (diff) | |
media: rcar-isp: Fix VSPX reference leaks
of_parse_phandle() and of_find_device_by_node() both acquire references,
but the ISPCORE probe never releases them. The device node reference is
leaked immediately, and the VSPX device reference is leaked on probe
failures and on driver removal.
Drop the node reference once the platform device has been looked up, and
release the device reference on the probe error paths and in the remove
path.
Signed-off-by: Linmao Li <lilinmao@kylinos.cn>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
