diff options
| author | Lad Prabhakar <[email protected]> | 2021-03-11 10:52:05 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-04-06 14:38:59 +0200 |
| commit | dd90caa0111e178b52b21e56364bc2244a3973b3 (patch) | |
| tree | 685bd9cdb0436a12f94444eae1d6f480c6e6ea17 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 745d4612d2c853c00abadbf69799c8aee7f99c39 (diff) | |
media: i2c: imx219: Balance runtime PM use-count
Move incrementing/decrementing runtime PM count to
imx219_start_streaming()/imx219_stop_streaming() functions respectively.
This fixes an issue of unbalanced runtime PM count in resume callback
error path where streaming is stopped and runtime PM count is left
unbalanced.
Fixes: 1283b3b8f82b9 ("media: i2c: Add driver for Sony IMX219 sensor")
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions