ASoC: cs4271: Split SPI and I2C code into different modules
authorAxel Lin <axel.lin@ingics.com>
Mon, 6 Oct 2014 15:09:47 +0000 (23:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:20:02 +0000 (12:20 +0100)
commitc973b8a7dc50ace86393f209b19aa7fd0bfaf66b
tree8f7ff632abab96bc1b20918f2805aa2d8949903c
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: cs4271: Split SPI and I2C code into different modules

Currently the cs4271 driver depends on SND_SOC_I2C_AND_SPI.
So the driver cannot be built as built-in if CONFIG_I2C=m.
Split SPI and I2C code into different modules to avoid this issue.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/cirrus/Kconfig
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/cs4271-i2c.c [new file with mode: 0644]
sound/soc/codecs/cs4271-spi.c [new file with mode: 0644]
sound/soc/codecs/cs4271.c
sound/soc/codecs/cs4271.h [new file with mode: 0644]