aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorLiam Girdwood <lg@opensource.wolfsonmicro.com>2008-01-10 08:36:20 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:50 -0500
commit0b4d221b8d56deefca4984d01b3a010107ae1f72 (patch)
treefb4d9923416fedeee04632eac5a8ee760bf37f0e /include/sound/soc-dapm.h
parent7570f29a545c7fdf29e913860320e0c09e60e45b (diff)
[ALSA] soc - Add device level DAPM event
Added a device level dapm event so that both the machine and codec are informed when dapm events occur. Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound/soc-dapm.h')
-rw-r--r--include/sound/soc-dapm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index b9d586442518..4158cbaa0f25 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -199,6 +199,7 @@ void snd_soc_dapm_free(struct snd_soc_device *socdev);
199/* dapm events */ 199/* dapm events */
200int snd_soc_dapm_stream_event(struct snd_soc_codec *codec, char *stream, 200int snd_soc_dapm_stream_event(struct snd_soc_codec *codec, char *stream,
201 int event); 201 int event);
202int snd_soc_dapm_device_event(struct snd_soc_device *socdev, int event);
202 203
203/* dapm sys fs - used by the core */ 204/* dapm sys fs - used by the core */
204int snd_soc_dapm_sys_add(struct device *dev); 205int snd_soc_dapm_sys_add(struct device *dev);