commit | 0ac22098de6f9fd460ac1b1cbf6dbd324312161c | [log] [tgz] |
---|---|---|
author | Zheng Liang <zhengliang6@huawei.com> | Tue Nov 24 11:06:06 2020 +0800 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Dec 02 10:40:54 2020 +0100 |
tree | 0a59ef076b60422337773f171f0d34276ad3fdc0 | |
parent | b65054597872ce3aefbc6a666385eabdf9e288da [diff] |
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:27a49ed17e224(gpio: arizona: Add support for GPIOs that) Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Liang <zhengliang6@huawei.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>