diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-25 09:28:39 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-25 09:28:39 -0400 |
commit | 62b1653e29d8f359c4c7e045b965dc963459473d (patch) | |
tree | 4f0d3f541c9eead5785f4e0230c46375a819ab60 /include/sound/soc.h | |
parent | 10121a12e2380fb34b6e646a8e367add06d036c3 (diff) | |
parent | d5fc3b5fe374f24b6773c22e90ef4bdda718b845 (diff) |
Merge branch 'for-2.6.32' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into topic/asoc
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index cf6111d72b17..e6704c0a4404 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -192,6 +192,11 @@ void snd_soc_unregister_platform(struct snd_soc_platform *platform); | |||
192 | int snd_soc_register_codec(struct snd_soc_codec *codec); | 192 | int snd_soc_register_codec(struct snd_soc_codec *codec); |
193 | void snd_soc_unregister_codec(struct snd_soc_codec *codec); | 193 | void snd_soc_unregister_codec(struct snd_soc_codec *codec); |
194 | 194 | ||
195 | #ifdef CONFIG_PM | ||
196 | int snd_soc_suspend_device(struct device *dev); | ||
197 | int snd_soc_resume_device(struct device *dev); | ||
198 | #endif | ||
199 | |||
195 | /* pcm <-> DAI connect */ | 200 | /* pcm <-> DAI connect */ |
196 | void snd_soc_free_pcms(struct snd_soc_device *socdev); | 201 | void snd_soc_free_pcms(struct snd_soc_device *socdev); |
197 | int snd_soc_new_pcms(struct snd_soc_device *socdev, int idx, const char *xid); | 202 | int snd_soc_new_pcms(struct snd_soc_device *socdev, int idx, const char *xid); |
@@ -216,9 +221,9 @@ void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count, | |||
216 | 221 | ||
217 | /* codec register bit access */ | 222 | /* codec register bit access */ |
218 | int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned short reg, | 223 | int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned short reg, |
219 | unsigned short mask, unsigned short value); | 224 | unsigned int mask, unsigned int value); |
220 | int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, | 225 | int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, |
221 | unsigned short mask, unsigned short value); | 226 | unsigned int mask, unsigned int value); |
222 | 227 | ||
223 | int snd_soc_new_ac97_codec(struct snd_soc_codec *codec, | 228 | int snd_soc_new_ac97_codec(struct snd_soc_codec *codec, |
224 | struct snd_ac97_bus_ops *ops, int num); | 229 | struct snd_ac97_bus_ops *ops, int num); |
@@ -369,8 +374,6 @@ struct snd_soc_codec { | |||
369 | enum snd_soc_bias_level bias_level; | 374 | enum snd_soc_bias_level bias_level; |
370 | enum snd_soc_bias_level suspend_bias_level; | 375 | enum snd_soc_bias_level suspend_bias_level; |
371 | struct delayed_work delayed_work; | 376 | struct delayed_work delayed_work; |
372 | struct list_head up_list; | ||
373 | struct list_head down_list; | ||
374 | 377 | ||
375 | /* codec DAI's */ | 378 | /* codec DAI's */ |
376 | struct snd_soc_dai *dai; | 379 | struct snd_soc_dai *dai; |