Skip to content
Commit 0ac22098 authored by Zheng Liang's avatar Zheng Liang Committed by Bartosz Golaszewski
Browse files

gpio: arizona: disable pm_runtime in case of failure



pm_runtime_enable will increase power disable depth. Thus a
pairing decrement is needed on the error handling path to keep
it balanced.

Fixes:27a49ed1(gpio: arizona: Add support for GPIOs that)
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Liang <zhengliang6@huawei.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent b6505459
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment