Commit 60a26016 authored by Mark Brown's avatar Mark Brown

ASoC: pxa: Select regmap from AC'97 machines

regmap needs to be selected by users which for machine drivers that select
AC'97 CODEC drivers means that we need to also select regmap to ensure that
the CODEC driver will build if nothing else enables regmap as is likely for
such systems.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200326151053.40806-1-broonie@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 633fddee
...@@ -81,6 +81,7 @@ config SND_PXA2XX_SOC_TOSA ...@@ -81,6 +81,7 @@ config SND_PXA2XX_SOC_TOSA
depends on SND_PXA2XX_SOC && MACH_TOSA depends on SND_PXA2XX_SOC && MACH_TOSA
depends on MFD_TC6393XB depends on MFD_TC6393XB
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
select SND_SOC_WM9712 select SND_SOC_WM9712
help help
...@@ -91,6 +92,7 @@ config SND_PXA2XX_SOC_E740 ...@@ -91,6 +92,7 @@ config SND_PXA2XX_SOC_E740
tristate "SoC AC97 Audio support for e740" tristate "SoC AC97 Audio support for e740"
depends on SND_PXA2XX_SOC && MACH_E740 depends on SND_PXA2XX_SOC && MACH_E740
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_SOC_WM9705 select SND_SOC_WM9705
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
help help
...@@ -101,6 +103,7 @@ config SND_PXA2XX_SOC_E750 ...@@ -101,6 +103,7 @@ config SND_PXA2XX_SOC_E750
tristate "SoC AC97 Audio support for e750" tristate "SoC AC97 Audio support for e750"
depends on SND_PXA2XX_SOC && MACH_E750 depends on SND_PXA2XX_SOC && MACH_E750
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_SOC_WM9705 select SND_SOC_WM9705
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
help help
...@@ -111,6 +114,7 @@ config SND_PXA2XX_SOC_E800 ...@@ -111,6 +114,7 @@ config SND_PXA2XX_SOC_E800
tristate "SoC AC97 Audio support for e800" tristate "SoC AC97 Audio support for e800"
depends on SND_PXA2XX_SOC && MACH_E800 depends on SND_PXA2XX_SOC && MACH_E800
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_SOC_WM9712 select SND_SOC_WM9712
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
help help
...@@ -122,6 +126,7 @@ config SND_PXA2XX_SOC_EM_X270 ...@@ -122,6 +126,7 @@ config SND_PXA2XX_SOC_EM_X270
depends on SND_PXA2XX_SOC && (MACH_EM_X270 || MACH_EXEDA || \ depends on SND_PXA2XX_SOC && (MACH_EM_X270 || MACH_EXEDA || \
MACH_CM_X300) MACH_CM_X300)
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
select SND_SOC_WM9712 select SND_SOC_WM9712
help help
...@@ -133,6 +138,7 @@ config SND_PXA2XX_SOC_PALM27X ...@@ -133,6 +138,7 @@ config SND_PXA2XX_SOC_PALM27X
depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \ depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \
MACH_PALMT5 || MACH_PALMTE2) MACH_PALMT5 || MACH_PALMTE2)
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
select SND_SOC_WM9712 select SND_SOC_WM9712
help help
...@@ -164,6 +170,7 @@ config SND_SOC_ZYLONITE ...@@ -164,6 +170,7 @@ config SND_SOC_ZYLONITE
depends on SND_PXA2XX_SOC && MACH_ZYLONITE depends on SND_PXA2XX_SOC && MACH_ZYLONITE
depends on AC97_BUS=n depends on AC97_BUS=n
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
select REGMAP
select SND_PXA_SOC_SSP select SND_PXA_SOC_SSP
select SND_SOC_WM9713 select SND_SOC_WM9713
help help
...@@ -193,6 +200,7 @@ config SND_PXA2XX_SOC_MIOA701 ...@@ -193,6 +200,7 @@ config SND_PXA2XX_SOC_MIOA701
tristate "SoC Audio support for MIO A701" tristate "SoC Audio support for MIO A701"
depends on SND_PXA2XX_SOC && MACH_MIOA701 depends on SND_PXA2XX_SOC && MACH_MIOA701
depends on AC97_BUS=n depends on AC97_BUS=n
select REGMAP
select SND_PXA2XX_SOC_AC97 select SND_PXA2XX_SOC_AC97
select SND_SOC_WM9713 select SND_SOC_WM9713
help help
......
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