diff options
| author | Sakari Ailus <[email protected]> | 2022-05-18 16:52:36 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-08 15:12:17 +0100 |
| commit | fda0f59a3aa41e0b724301747802e6ebeddae42a (patch) | |
| tree | 320cd6569d184f825cf3467d391d7a4adddcc782 /tools/perf/scripts/python/flamegraph.py | |
| parent | 576d196c522bd0e17bf9c5ff92ef963c0960a201 (diff) | |
media: ov7251: Fix multiple problems in s_stream callback
The s_stream callback had several issues:
- If pm_runtime_get_sync() fails, the usage_count is not put.
- The sensor wasn't suspended if s_stream(subdev, 1) failed.
Fix this.
Fixes: ("media: i2c: Add pm_runtime support to ov7251")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions