diff options
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 27409dd41ae9..d0b29a509bdd 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -187,13 +187,20 @@ typedef int (*hw_read_t)(void *,char* ,int); | |||
187 | 187 | ||
188 | extern struct snd_ac97_bus_ops soc_ac97_ops; | 188 | extern struct snd_ac97_bus_ops soc_ac97_ops; |
189 | 189 | ||
190 | enum snd_soc_control_type { | ||
191 | SND_SOC_CUSTOM, | ||
192 | SND_SOC_I2C, | ||
193 | SND_SOC_SPI, | ||
194 | }; | ||
195 | |||
190 | int snd_soc_register_platform(struct snd_soc_platform *platform); | 196 | int snd_soc_register_platform(struct snd_soc_platform *platform); |
191 | void snd_soc_unregister_platform(struct snd_soc_platform *platform); | 197 | void snd_soc_unregister_platform(struct snd_soc_platform *platform); |
192 | int snd_soc_register_codec(struct snd_soc_codec *codec); | 198 | int snd_soc_register_codec(struct snd_soc_codec *codec); |
193 | void snd_soc_unregister_codec(struct snd_soc_codec *codec); | 199 | void snd_soc_unregister_codec(struct snd_soc_codec *codec); |
194 | int snd_soc_codec_volatile_register(struct snd_soc_codec *codec, int reg); | 200 | int snd_soc_codec_volatile_register(struct snd_soc_codec *codec, int reg); |
195 | int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, | 201 | int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, |
196 | int addr_bits, int data_bits); | 202 | int addr_bits, int data_bits, |
203 | enum snd_soc_control_type control); | ||
197 | 204 | ||
198 | #ifdef CONFIG_PM | 205 | #ifdef CONFIG_PM |
199 | int snd_soc_suspend_device(struct device *dev); | 206 | int snd_soc_suspend_device(struct device *dev); |