summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pasemi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-04-23 19:27:27 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-05-03 17:10:40 +0200
commit010ddb813f3554cbbf8bd13b731452236a2c8017 (patch)
tree15c112ee58741e559d9c3a60f6e1ee43186db903 /drivers/net/ethernet/pasemi
parentpower: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI q... (diff)
downloadlinux-010ddb813f3554cbbf8bd13b731452236a2c8017.tar.xz
linux-010ddb813f3554cbbf8bd13b731452236a2c8017.zip
power: supply: ab8500_fg: Allocate wq in probe
The workqueue is allocated in bind() but all interrupts are registered in probe(). Some interrupts put work on the workqueue, which can have bad side effects. Allocate the workqueue in probe() instead, destroy it in .remove() and make unbind() simply flush the workqueue. Fixes: 1c1f13a006ed ("power: supply: ab8500: Move to componentized binding") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
0 files changed, 0 insertions, 0 deletions