diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-23 09:36:39 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:19:43 +0200 |
| commit | cf7b1c794d2f2362610143375b4156111e35aed5 (patch) | |
| tree | e19bbacfa6d27ff1877f2294c489a69c053fdde8 /scripts/patch-kernel | |
| parent | 90361693ad8d13a4311fc671903dcedd6ec06940 (diff) | |
| download | cachepc-linux-cf7b1c794d2f2362610143375b4156111e35aed5.tar.gz cachepc-linux-cf7b1c794d2f2362610143375b4156111e35aed5.zip | |
media: camss: csid: Fix runtime PM imbalance in csid_set_power
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
