summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-09-22 16:40:09 +0800
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-09-26 16:48:12 +0300
commit6e81cfc38548109021ab761b94ecdd01f8753154 (patch)
tree42a57e2cb7ea5a1c2da6ad6be1541dfd9d6db613 /tools/perf/scripts/python/event_analyzing_sample.py
parentd8cfc429dc10028b8d882894fc3e5ba7f8710f66 (diff)
media: i2c: ov5647: fix power cleanup on remove
ov5647_remove() disables runtime PM without powering off the sensor if it is still runtime active. pm_runtime_disable() does not invoke the runtime suspend callback, so the sensor can remain powered on. If the device is not already runtime suspended, call ov5647_power_off() and mark the runtime PM state as suspended. This issue was found by manual code inspection. Fixes: 089b7c70f0d8 ("media: ov5647: Use pm_runtime infrastructure") Cc: stable@vger.kernel.org Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions