Skip to content
Unverified Commit a6d99022 authored by Michael Walle's avatar Michael Walle Committed by Mark Brown
Browse files

regmap: add regmap_might_sleep()



With the dawn of MMIO gpio-regmap users, it is desirable to let
gpio-regmap ask the regmap if it might sleep during an access so
it can pass that information to gpiochip. Add a new regmap_might_sleep()
to query the regmap.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20221121150843.1562603-1-michael@walle.cc


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9abf2313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment