summaryrefslogtreecommitdiff
path: root/sound/soc/soc-io.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-02-16 10:04:43 +0800
committerMark Brown <broonie@linaro.org>2014-02-16 10:05:33 +0800
commit7b80300e749c2865fbfc23870d3b8f3186956fc0 (patch)
tree893e9b253982b189abec36190a50d357910ae776 /sound/soc/soc-io.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
ASoC: io: Remove SPI support
All ASoC CODEC drivers that use SPI have now been converted to use regmap so we can delete SND_SOC_SPI, preventing any new users being added. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-io.c')
-rw-r--r--sound/soc/soc-io.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c
index aa886cca3ecf..3a0d99edf030 100644
--- a/sound/soc/soc-io.c
+++ b/sound/soc/soc-io.c
@@ -106,13 +106,6 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
break;
#endif
-#if IS_ENABLED(CONFIG_REGMAP_SPI)
- case SND_SOC_SPI:
- codec->control_data = regmap_init_spi(to_spi_device(codec->dev),
- &config);
- break;
-#endif
-
case SND_SOC_REGMAP:
/* Device has made its own regmap arrangements */
codec->using_regmap = true;