commit | b2e5575a8d04028d17f6c914eea31036589bc79a | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Sat May 23 14:17:26 2020 +0800 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Fri May 29 17:36:02 2020 +0900 |
tree | 1eb26e6d5e31c1fba65e55eac52e3b4a4f81f5fa | |
parent | 3d6954dda499f73b0efb659d22b65428345753bf [diff] |
extcon: arizona: Fix runtime PM imbalance on error When arizona_request_irq() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. For error paths after this function, things are the same. Also, remove calls to pm_runtime_disable() when pm_runtime_enable() has not been executed. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>