diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-21 14:06:21 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:19:59 +0200 |
| commit | 606578801afe6ec8bb03f5d494a4bae49a684ef3 (patch) | |
| tree | 48331ef1ec6955e6b07398968c08e0eef622e7ed /scripts/patch-kernel | |
| parent | cf7b1c794d2f2362610143375b4156111e35aed5 (diff) | |
| download | cachepc-linux-606578801afe6ec8bb03f5d494a4bae49a684ef3.tar.gz cachepc-linux-606578801afe6ec8bb03f5d494a4bae49a684ef3.zip | |
media: camss: ispif: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
