diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-21 12:17:35 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:19:12 +0200 |
| commit | 90361693ad8d13a4311fc671903dcedd6ec06940 (patch) | |
| tree | dff4b39dde726b09a0162edac60526e5abd5fc70 /scripts/patch-kernel | |
| parent | e40a8770fd147e7c0d5bd8c327d88090480242f2 (diff) | |
| download | cachepc-linux-90361693ad8d13a4311fc671903dcedd6ec06940.tar.gz cachepc-linux-90361693ad8d13a4311fc671903dcedd6ec06940.zip | |
media: coda: 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
