diff options
author | Zheng Liang <zhengliang6@huawei.com> | 2020-11-24 06:06:06 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-12-02 12:40:54 +0300 |
commit | 0ac22098de6f9fd460ac1b1cbf6dbd324312161c (patch) | |
tree | 0a59ef076b60422337773f171f0d34276ad3fdc0 /lib/test_overflow.c | |
parent | b65054597872ce3aefbc6a666385eabdf9e288da (diff) | |
download | linux-0ac22098de6f9fd460ac1b1cbf6dbd324312161c.tar.xz |
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions