diff options
author | 2021-03-24 11:21:34 +0200 | |
---|---|---|
committer | 2021-03-26 15:45:33 +0100 | |
commit | ecdc996baf291b903342cc704f4086a88c361967 (patch) | |
tree | 759393256e7944f76ebeaf82cf2f5ac54a896a8c /drivers/base/dd.c | |
parent | watchdog: retu_wdt: Clean-up by using managed work init (diff) | |
download | linux-dev-ecdc996baf291b903342cc704f4086a88c361967.tar.xz linux-dev-ecdc996baf291b903342cc704f4086a88c361967.zip |
power: supply: axp20x_usb_power: fix work-queue init
The commit 6d0c5de2fd84
("power: supply: Clean-up few drivers by using managed work init")
Re-introduced wrong order of initializing work-queue and requesting
the IRQs which was originally fixed by the commit b5e8642ed95f
("power: supply: axp20x_usb_power: Init work before enabling IRQs")
In addition this caused the work queue to be initialized twice.
Fix it again.
Fixes: 6d0c5de2fd84 ("power: supply: Clean-up few drivers by using managed work init")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reported-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/a774ca25010b7c932c07f22ce8a548466705c023.1616574973.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dd.c')
0 files changed, 0 insertions, 0 deletions