aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-25 09:28:39 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-25 09:28:39 -0400
commit62b1653e29d8f359c4c7e045b965dc963459473d (patch)
tree4f0d3f541c9eead5785f4e0230c46375a819ab60 /include/sound/soc.h
parent10121a12e2380fb34b6e646a8e367add06d036c3 (diff)
parentd5fc3b5fe374f24b6773c22e90ef4bdda718b845 (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.h11
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);
192int snd_soc_register_codec(struct snd_soc_codec *codec); 192int snd_soc_register_codec(struct snd_soc_codec *codec);
193void snd_soc_unregister_codec(struct snd_soc_codec *codec); 193void snd_soc_unregister_codec(struct snd_soc_codec *codec);
194 194
195#ifdef CONFIG_PM
196int snd_soc_suspend_device(struct device *dev);
197int snd_soc_resume_device(struct device *dev);
198#endif
199
195/* pcm <-> DAI connect */ 200/* pcm <-> DAI connect */
196void snd_soc_free_pcms(struct snd_soc_device *socdev); 201void snd_soc_free_pcms(struct snd_soc_device *socdev);
197int snd_soc_new_pcms(struct snd_soc_device *socdev, int idx, const char *xid); 202int 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 */
218int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned short reg, 223int 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);
220int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, 225int 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
223int snd_soc_new_ac97_codec(struct snd_soc_codec *codec, 228int 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;