]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: Fix runtime PM imbalance in coda_probe
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Mon, 25 May 2020 13:02:06 +0000 (15:02 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 27 Sep 2020 08:51:14 +0000 (10:51 +0200)
commitdc6d349f802c10af0ff4fd559287f7fb895feb9e
treee289b2947d7daa080e68d92369211770a4ac8b77
parent4dcb52829d2b6c327f64e290c2d17a4a32b4d9f8
media: coda: Fix runtime PM imbalance in coda_probe

When coda_firmware_request() returns an error code,
a pairing runtime PM usage counter decrement is needed
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>
drivers/media/platform/coda/coda-common.c