ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules
authorMark Brown <broonie@kernel.org>
Fri, 25 Mar 2022 15:31:19 +0000 (15:31 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 4 Apr 2022 07:39:32 +0000 (08:39 +0100)
commit9dc15f81baf273b5aaaa3302ee8faacd78f361fd
treea3a314b950a88822854c160f02081fbfdae400e3
parent8875d104af6c237bfedb47309afd938984a3c05b
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>
sound/soc/atmel/Kconfig
sound/soc/au1x/Kconfig
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/wm8731-i2c.c [new file with mode: 0644]
sound/soc/codecs/wm8731-spi.c [new file with mode: 0644]
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8731.h
sound/soc/pxa/Kconfig