diff options
| author | 2026-09-22 16:40:09 +0800 | |
|---|---|---|
| committer | 2026-09-26 16:48:12 +0300 | |
| commit | 6e81cfc38548109021ab761b94ecdd01f8753154 (patch) | |
| tree | 42a57e2cb7ea5a1c2da6ad6be1541dfd9d6db613 /scripts/Makefile.thinlto | |
| parent | media: ti: cal: remove unnecessary error check (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
