Commit ca0db18d authored by Mark Brown's avatar Mark Brown

regmap: Try to work around Kconfig exploding on HWSPINLOCK

Trying to work with hwspinlock from built in code is painful as it can
be built modular.  Invert the test for REGMAP_HWSPINLOCK for now so we
end up requiring users to depend on HWSPINLOCK=y in order to turn on the
hwspinlock code.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e8419c40
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
config REGMAP config REGMAP
default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ) default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
select IRQ_DOMAIN if REGMAP_IRQ select IRQ_DOMAIN if REGMAP_IRQ
select HWSPINLOCK if REGMAP_HWSPINLOCK select REGMAP_HWSPINLOCK if HWSPINLOCK=y
bool bool
config REGCACHE_COMPRESSED config REGCACHE_COMPRESSED
......
Markdown is supported
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