diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2022-05-18 16:52:36 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-08 15:12:17 +0100 |
| commit | fda0f59a3aa41e0b724301747802e6ebeddae42a (patch) | |
| tree | 320cd6569d184f825cf3467d391d7a4adddcc782 /tools/perf/scripts/python | |
| parent | 576d196c522bd0e17bf9c5ff92ef963c0960a201 (diff) | |
| download | linux-fda0f59a3aa41e0b724301747802e6ebeddae42a.tar.gz linux-fda0f59a3aa41e0b724301747802e6ebeddae42a.zip | |
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 <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
