summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJurison Murati <eng.juri@gmail.com>2026-06-10 12:22:36 +0200
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-07-15 11:13:56 +0300
commit3fe797a12bfa9a49aa998ee722e5f25c957b9b15 (patch)
treef3a488f914033bfb4f7c7fcc5d369e3265725379 /tools/perf/scripts/python/bin
parent253c9659e25131b0169f718e7d094ac1aa0d9279 (diff)
media: i2c: ov8865: Drop the runtime PM usage count on stream failure
ov8865_s_stream() takes a runtime PM reference when enabling the stream, but returns without releasing it if ov8865_sw_standby() fails, leaving the reference unbalanced and the sensor powered indefinitely. The same applies to a failure while disabling the stream, in which case the reference acquired at stream start is never dropped. Drop the reference in a single place, both when disabling the stream and on failure, and only update the streaming state on success. Signed-off-by: Jurison Murati <eng.juri@gmail.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions