Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18d5eacb authored by Mark Brown's avatar Mark Brown
Browse files

regmap: Use select .. if to get IRQ_DOMAIN enabled



Ensure that we can't get randconfig breakage by doing the IRQ_DOMAIN
select automatically. Don't just do the select from REGMAP_IRQ to ensure
that the select actually gets noticed.

Reported-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c948ef3a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,7 @@ config REGMAP
	default y if (REGMAP_I2C || REGMAP_SPI)
	default y if (REGMAP_I2C || REGMAP_SPI)
	select LZO_COMPRESS
	select LZO_COMPRESS
	select LZO_DECOMPRESS
	select LZO_DECOMPRESS
	select IRQ_DOMAIN if REGMAP_IRQ
	bool
	bool


config REGMAP_I2C
config REGMAP_I2C
+0 −3
Original line number Original line Diff line number Diff line
@@ -376,7 +376,6 @@ config PMIC_DA9052


config MFD_DA9052_SPI
config MFD_DA9052_SPI
	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with SPI"
	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with SPI"
	select IRQ_DOMAIN
	select REGMAP_SPI
	select REGMAP_SPI
	select REGMAP_IRQ
	select REGMAP_IRQ
	select PMIC_DA9052
	select PMIC_DA9052
@@ -389,7 +388,6 @@ config MFD_DA9052_SPI


config MFD_DA9052_I2C
config MFD_DA9052_I2C
	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with I2C"
	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with I2C"
	select IRQ_DOMAIN
	select REGMAP_I2C
	select REGMAP_I2C
	select REGMAP_IRQ
	select REGMAP_IRQ
	select PMIC_DA9052
	select PMIC_DA9052
@@ -560,7 +558,6 @@ config MFD_WM8994
	bool "Support Wolfson Microelectronics WM8994"
	bool "Support Wolfson Microelectronics WM8994"
	select MFD_CORE
	select MFD_CORE
	select REGMAP_I2C
	select REGMAP_I2C
	select IRQ_DOMAIN
	select REGMAP_IRQ
	select REGMAP_IRQ
	depends on I2C=y && GENERIC_HARDIRQS
	depends on I2C=y && GENERIC_HARDIRQS
	help
	help