Samuel Holland 3f37d4f695 mfd: axp20x: Do not sleep in the power off handler
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>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221105212909.6526-1-samuel@sholland.org
2022-12-07 13:28:10 +00:00
..
2022-03-25 13:56:18 -07:00
2022-08-06 10:25:16 -07:00
2022-03-21 18:33:57 -07:00
2022-10-07 11:24:20 -07:00
2022-08-16 12:46:26 +02:00
2019-07-15 20:18:40 -07:00
2022-12-07 13:28:08 +00:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-09-28 16:09:50 +01:00
2022-09-28 16:17:40 +01:00