Commit 7b80300e authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
...@@ -342,7 +342,6 @@ extern struct snd_ac97_bus_ops *soc_ac97_ops; ...@@ -342,7 +342,6 @@ extern struct snd_ac97_bus_ops *soc_ac97_ops;
enum snd_soc_control_type { enum snd_soc_control_type {
SND_SOC_I2C = 1, SND_SOC_I2C = 1,
SND_SOC_SPI,
SND_SOC_REGMAP, SND_SOC_REGMAP,
}; };
......
...@@ -106,13 +106,6 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, ...@@ -106,13 +106,6 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
break; break;
#endif #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: case SND_SOC_REGMAP:
/* Device has made its own regmap arrangements */ /* Device has made its own regmap arrangements */
codec->using_regmap = true; codec->using_regmap = true;
......
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