diff options
| author | Biren Pandya <birenpandya@gmail.com> | 2026-07-05 01:46:28 +0530 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-07-15 11:13:55 +0300 |
| commit | 04c053379c3a33460b581953c4f5b36de39439ac (patch) | |
| tree | 23e39de9895d8a0bcc00b341ed456f9cb2e5865c /tools/perf/scripts/python/stackcollapse.py | |
| parent | f4d4912e7f061e42c328e3c2db6e4e70a8fb19cd (diff) | |
media: i2c: rdacm21: Fix missing media_entity_cleanup()
The driver misses calling media_entity_cleanup() on the probe error path
and during remove, leaking resources if probe fails after entity
initialization or when the driver is unloaded.
Fix this by adding media_entity_cleanup() to the rdacm21_probe() error
handling path and to rdacm21_remove().
Fixes: a59f853b3b4b ("media: i2c: Add driver for RDACM21 camera module")
Signed-off-by: Biren Pandya <birenpandya@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
