summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-renesas-irqc.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-11-02 22:33:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:53:25 +0100
commit891bb86926f2788990ed35d4d96fb577ff3aca9b (patch)
tree941132bd8a0291811b165f60c0c52a7e8869ee8c /drivers/irqchip/irq-renesas-irqc.c
parent67c91336e0d1c4772cc906e3a294a86f36326016 (diff)
downloadlinux-stable-891bb86926f2788990ed35d4d96fb577ff3aca9b.tar.gz
linux-stable-891bb86926f2788990ed35d4d96fb577ff3aca9b.tar.bz2
linux-stable-891bb86926f2788990ed35d4d96fb577ff3aca9b.zip
power: supply: bq24190_charger: fix reference leak
[ Upstream commit b2f6cb78eaa1cad57dd3fe11d0458cd4fae9a584 ] pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to call pm_runtime_put_noidle will result in reference leak in callers(bq24190_sysfs_show, bq24190_charger_get_property, bq24190_charger_set_property, bq24190_battery_get_property, bq24190_battery_set_property), so we should fix it. Fixes: f385e6e2a1532 ("power: bq24190_charger: Use PM runtime autosuspend") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/irqchip/irq-renesas-irqc.c')
0 files changed, 0 insertions, 0 deletions