regmap: Reject fast_io regmap configurations with RBTREE and MAPLE caches
authorGuenter Roeck <linux@roeck-us.net>
Thu, 20 Jul 2023 03:28:48 +0000 (20:28 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jul 2023 12:57:05 +0000 (13:57 +0100)
commitee43f5bb23340c27603c3ad8ef94f677ad7cb9ad
tree445bbd316488f03d4937d93c03be7d8e07cff927
parent99aae70551f99536936438bbcfc562df69eeb79c
regmap: Reject fast_io regmap configurations with RBTREE and MAPLE caches

REGCACHE_RBTREE and REGCACHE_MAPLE dynamically allocate memory for regmap
operations. This is incompatible with spinlock based locking which is used
for fast_io operations. Reject affected configurations.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230720032848.1306349-2-linux@roeck-us.net
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap.c