]> git.baikalelectronics.ru Git - kernel.git/commit
media: exynos4-is: Fix PM disable depth imbalance in fimc_is_probe
authorMiaoqian Lin <linmq006@gmail.com>
Mon, 7 Mar 2022 07:52:06 +0000 (08:52 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 07:13:46 +0000 (09:13 +0200)
commitfc68f974107de3970fc4ad32c9f652c20e50fe77
treecdfc43cb91a46b6bdf70802fc8e6d6d9c12734f5
parent94bab343869a4e8e36b48217a6d0efd9df7b27aa
media: exynos4-is: Fix PM disable depth imbalance in fimc_is_probe

If probe fails then we need to call pm_runtime_disable() to balance
out the previous pm_runtime_enable() call.

Fixes: 6b4c021ddb69 ("[media] exynos4-is: Add Exynos4x12 FIMC-IS driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/samsung/exynos4-is/fimc-is.c