diff options
author | 2022-11-13 19:57:48 -0600 | |
---|---|---|
committer | 2022-11-16 19:28:48 +0100 | |
commit | 077686da0e2162c4ea5ae0df205849c2a7a84479 (patch) | |
tree | a3524681fa046f06f413fbe46f721fdc83d56ed2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bus: sunxi-rsb: Remove the shutdown callback (diff) | |
download | wireguard-linux-077686da0e2162c4ea5ae0df205849c2a7a84479.tar.xz wireguard-linux-077686da0e2162c4ea5ae0df205849c2a7a84479.zip |
bus: sunxi-rsb: Support atomic transfers
When communicating with a PMIC during system poweroff (pm_power_off()),
IRQs are disabled and we are in a RCU read-side critical section, so we
cannot use wait_for_completion_io_timeout(). Instead, poll the status
register for transfer completion.
Fixes: d787dcdb9c8f ("bus: sunxi-rsb: Add driver for Allwinner Reduced Serial Bus")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20221114015749.28490-3-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions