Skip to content
Commit 395829c6 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Mauro Carvalho Chehab
Browse files

media: atmel: atmel-isc: Fix PM disable depth imbalance in atmel_isc_probe



The pm_runtime_enable will decrease power disable depth.
If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().

Fixes: 0a0e2655 ("media: atmel: atmel-isc: split driver into driver base and isc")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 94e3dba7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment