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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user