aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2022-11-13 19:57:48 -0600
committerJernej Skrabec <[email protected]>2022-11-16 19:28:48 +0100
commit077686da0e2162c4ea5ae0df205849c2a7a84479 (patch)
treea3524681fa046f06f413fbe46f721fdc83d56ed2 /lib/mpi/mpi-mod.c
parent5f4696ddca4b8a0bbbc36bd46829f97aab5a4552 (diff)
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 <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jernej Skrabec <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions