diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-21 13:56:07 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:20:17 +0200 |
| commit | 779096916daede26699e75e51b0c3a000410d8ad (patch) | |
| tree | aefc1c3bf9a3e59b7b25286a466a472cb666fc83 /scripts/patch-kernel | |
| parent | 606578801afe6ec8bb03f5d494a4bae49a684ef3 (diff) | |
| download | cachepc-linux-779096916daede26699e75e51b0c3a000410d8ad.tar.gz cachepc-linux-779096916daede26699e75e51b0c3a000410d8ad.zip | |
media: camss: vfe: 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
