ASoC: io: Remove SPI support
authorMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 02:04:43 +0000 (10:04 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 02:05:33 +0000 (10:05 +0800)
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>
include/sound/soc.h
sound/soc/soc-io.c

index 9a001472b96a4bf8a11c8c129543060fdb75c869..6197ba0642cc98df6c9c81663289866a154cced6 100644 (file)
@@ -342,7 +342,6 @@ extern struct snd_ac97_bus_ops *soc_ac97_ops;
 
 enum snd_soc_control_type {
        SND_SOC_I2C = 1,
-       SND_SOC_SPI,
        SND_SOC_REGMAP,
 };
 
index aa886cca3ecf94a8ecf2c360312cd3dc3bcb4184..3a0d99edf030607918bc13e501b05f798bc3d16d 100644 (file)
@@ -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;
This page took 0.025783 seconds and 5 git commands to generate.