[ALSA] soc - Add support for passing kcontrols with events

Signed-off-by: Laim Girdwood <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
Laim Girdwood 2008-01-10 14:41:02 +01:00 • committed by Jaroslav Kysela
commit 9af6d95624
2 changed files with 28 additions and 14 deletions

View file

@ -289,7 +289,7 @@ struct snd_soc_dapm_widget {
/* external events */
unsigned short event_flags; /* flags to specify event types */
int (*event)(struct snd_soc_dapm_widget*, int);
int (*event)(struct snd_soc_dapm_widget*, struct snd_kcontrol *, int);
/* kcontrols that relate to this widget */
int num_kcontrols;