projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1124c8
)
power: supply: ab8500: add missing destroy_workqueue in ab8500_charger_bind
author
Zheng Bin
<zhengbin13@huawei.com>
Thu, 12 May 2022 09:38:44 +0000
(17:38 +0800)
committer
Sebastian Reichel
<sre@kernel.org>
Sat, 16 Jul 2022 23:00:25 +0000
(
01:00
+0200)
ab8500_charger_bind misses destroy_workqueue in error path,
this patch fixes that.
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/supply/ab8500_charger.c
b/drivers/power/supply/ab8500_charger.c
index 62c958b9ec370f99548599ccd23ee1e3e427d071..c19c50442761dc92cc7ed145eea355df0690b9fa 100644
(file)
--- a/
drivers/power/supply/ab8500_charger.c
+++ b/
drivers/power/supply/ab8500_charger.c
@@
-3351,6
+3351,7
@@
static int ab8500_charger_bind(struct device *dev)
ret = component_bind_all(dev, di);
if (ret) {
dev_err(dev, "can't bind component devices\n");
+ destroy_workqueue(di->charger_wq);
return ret;
}