mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>