summaryrefslogtreecommitdiff
path: root/drivers/fpga/stratix10-soc.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-23 14:17:26 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2020-05-29 17:36:02 +0900
commitb2e5575a8d04028d17f6c914eea31036589bc79a (patch)
tree1eb26e6d5e31c1fba65e55eac52e3b4a4f81f5fa /drivers/fpga/stratix10-soc.c
parent3d6954dda499f73b0efb659d22b65428345753bf (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>
Diffstat (limited to 'drivers/fpga/stratix10-soc.c')
0 files changed, 0 insertions, 0 deletions