diff options
| author | Guangshuo Li <lgs201920130244@gmail.com> | 2026-09-15 17:19:20 +0800 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-09-15 13:56:31 +0300 |
| commit | 2695038ac43cf63b95580544a4e9d1031660aa99 (patch) | |
| tree | e2bff0f040f651104fe3b6c1b20c7fc8d22256a5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 06d4f202f007b160e650e8dd861a5fc223024f34 (diff) | |
media: i2c: t4ka3: drop unmatched runtime PM put
t4ka3_probe() marks the device runtime active and enables runtime PM,
but does not increment the runtime PM usage counter. Nevertheless, the
probe failure path calls pm_runtime_put_noidle(), which has no matching
runtime PM get operation.
pm_runtime_put_noidle() currently does not decrement usage_count when
it is already zero, so the call is ineffective. Remove the unmatched
put to keep the runtime PM reference handling balanced and avoid
misleading cleanup code.
This issue was found by manual code inspection.
Fixes: fd55319692151 ("media: Add t4ka3 camera sensor driver")
Signed-off-by: Guangshuo Li <lgs201920130244@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
