mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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:
parent
6c59e6c412
commit
9af6d95624
2 changed files with 28 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue