Skip to content
Unverified Commit a9e26169 authored by Guenter Roeck's avatar Guenter Roeck Committed by Mark Brown
Browse files

regmap: Disable locking for RBTREE and MAPLE unit tests



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. Disable locking for the associated
unit tests to avoid lockdep splashes.

Fixes: f033c26d ("regmap: Add maple tree based register cache")
Fixes: 2238959b ("regmap: Add some basic kunit tests")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230720032848.1306349-1-linux@roeck-us.net


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b460a522
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment