diff options
| author | Samuel Holland <samuel@sholland.org> | 2022-11-06 00:29:09 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2022-12-07 16:28:10 +0300 |
| commit | 3f37d4f695cff180033254b9ed5adc8ab927cba9 (patch) | |
| tree | f9ee15d6cba1edaa8770a98b9c4dd11e650c016a /tools/perf/scripts/python | |
| parent | ef1709238aa50094d918e4f1dd5231dac5db13c3 (diff) | |
| download | linux-3f37d4f695cff180033254b9ed5adc8ab927cba9.tar.xz | |
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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
