diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2021-03-11 10:52:05 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-06 14:38:59 +0200 |
| commit | dd90caa0111e178b52b21e56364bc2244a3973b3 (patch) | |
| tree | 685bd9cdb0436a12f94444eae1d6f480c6e6ea17 /tools/perf/scripts/python | |
| parent | 745d4612d2c853c00abadbf69799c8aee7f99c39 (diff) | |
| download | linux-dd90caa0111e178b52b21e56364bc2244a3973b3.tar.gz linux-dd90caa0111e178b52b21e56364bc2244a3973b3.zip | |
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 <pavel@denx.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
