diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-01-08 01:05:19 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-06 11:39:27 +0200 |
| commit | 8f5586dc2d1829d16f602b3d3237b9415ca95cce (patch) | |
| tree | 106a4bad048536ee4fbf72210c9d49d07ecda9e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 212d34e050a5022db1246691b84668d3afa63e6c (diff) | |
| download | linux-8f5586dc2d1829d16f602b3d3237b9415ca95cce.tar.gz linux-8f5586dc2d1829d16f602b3d3237b9415ca95cce.zip | |
media: imx: imx7_mipi_csis: Runtime suspend in .s_stream() error path
If the .s_stream() handler fails after calling pm_runtime_get_sync(),
call pm_runtime_put() in the error path.
While at it add a few blank lines to make the code more readable.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
