Messages in this thread | | | Date | Mon, 7 Nov 2022 09:38:55 +0000 | From | Lee Jones <> | Subject | Re: [PATCH] mfd: axp20x: Do not sleep in the power off handler |
| |
On Sat, 05 Nov 2022, Samuel Holland wrote:
> Since commit 856c288b0039 ("ARM: Use do_kernel_power_off()"), the > function axp20x_power_off() now runs inside a RCU read-side critical > section, so it is not allowed to call msleep(). Use mdelay() instead. > > Fixes: 856c288b0039 ("ARM: Use do_kernel_power_off()") > Signed-off-by: Samuel Holland <samuel@sholland.org> > --- > > drivers/mfd/axp20x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
-- Lee Jones [李琼斯]
| |