summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-13 19:21:09 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-13 19:21:09 +0100
commit65fdd5c05a02b15bbfa5b0f4f050fdb25b9227f1 (patch)
treed2a22f1ac24d8b4269e9011db83e1d3b1318408d
parent223157121404a7ca4deaf2aa31a57cad8d133d07 (diff)
parente9c039052be59753e6bcc7c8b59763899dc1161c (diff)
downloadlinux-3.10-65fdd5c05a02b15bbfa5b0f4f050fdb25b9227f1.tar.gz
linux-3.10-65fdd5c05a02b15bbfa5b0f4f050fdb25b9227f1.tar.bz2
linux-3.10-65fdd5c05a02b15bbfa5b0f4f050fdb25b9227f1.zip
Merge branch 'for-3.0' into for-3.1
Trival fixup for move of I/O code into separate file. Conflicts: sound/soc/soc-cache.c
-rw-r--r--include/sound/soc.h3
-rw-r--r--sound/soc/soc-io.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4334ab25c5d..6424b10ac29 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -258,8 +258,7 @@ typedef int (*hw_write_t)(void *,const char* ,int);
extern struct snd_ac97_bus_ops soc_ac97_ops;
enum snd_soc_control_type {
- SND_SOC_CUSTOM = 1,
- SND_SOC_I2C,
+ SND_SOC_I2C = 1,
SND_SOC_SPI,
};
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c
index df9338aa1a5..cca490c8058 100644
--- a/sound/soc/soc-io.c
+++ b/sound/soc/soc-io.c
@@ -367,9 +367,6 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
codec->bulk_write_raw = snd_soc_hw_bulk_write_raw;
switch (control) {
- case SND_SOC_CUSTOM:
- break;
-
case SND_SOC_I2C:
#if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE))
codec->hw_write = (hw_write_t)i2c_master_send;