diff options
author | Mark Brown <broonie@kernel.org> | 2022-03-25 16:31:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-04 09:39:32 +0200 |
commit | 9dc15f81baf273b5aaaa3302ee8faacd78f361fd (patch) | |
tree | a3a314b950a88822854c160f02081fbfdae400e3 /sound/soc/atmel | |
parent | ASoC: wm8731: Factor our MCLK and mutex initialisation (diff) | |
download | linux-9dc15f81baf273b5aaaa3302ee8faacd78f361fd.tar.xz linux-9dc15f81baf273b5aaaa3302ee8faacd78f361fd.zip |
ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules
Placing both the I2C and SPI code in the same module causes problems with
mixes of modular and non-modular builds of the buses so it's generally bad
practice. As with other drivers split the bus code out of the WM8731 driver
into separate modules.
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220325153121.1598494-6-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index 795c0b0b527a..5d59e00be823 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -42,9 +42,9 @@ config SND_ATMEL_SOC_SSC_DMA config SND_AT91_SOC_SAM9G20_WM8731 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" depends on ARCH_AT91 || COMPILE_TEST - depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI + depends on ATMEL_SSC && I2C select SND_ATMEL_SOC_SSC_PDC - select SND_SOC_WM8731 + select SND_SOC_WM8731_I2C help Say Y if you want to add support for SoC audio on WM8731-based AT91sam9g20 evaluation board. |