soc: apple: apple-pmgr-pwrstate: Switch to IRQ-safe mode
authorHector Martin <marcan@marcan.st>
Mon, 23 Jan 2023 06:51:25 +0000 (15:51 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 31 Jan 2023 11:37:07 +0000 (20:37 +0900)
commitc289d5bce8521352a596f3ad27cd6d70b9f9f821
treea9e78559e62905f6be7bfff16f4af1377ec4427b
parent40eaa8c0cbba4a27668c7e01373ccd5b38381e2f
soc: apple: apple-pmgr-pwrstate: Switch to IRQ-safe mode

This requires changing the reset path locking primitives to the spinlock
path in genpd, instead of the mutex path.

Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/soc/apple/apple-pmgr-pwrstate.c