summaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-21 13:07:47 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 13:18:25 +0200
commit157282a5c6273976b31cf4ba4b1c46663f6519d1 (patch)
treec2452fabc111e963b5b995c6ffd320b3522455d7 /scripts/patch-kernel
parent7dcfb327f8fd7418124fc6d63bdce91b5844f50a (diff)
downloadcachepc-linux-157282a5c6273976b31cf4ba4b1c46663f6519d1.tar.gz
cachepc-linux-157282a5c6273976b31cf4ba4b1c46663f6519d1.zip
media: s5k6a3: Fix runtime PM imbalance on error
pm_runtime_get() 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