mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
[ALSA] ASoC: Fix WM9712 mixer_event DAPM widget function type
Add kcontrol argument to function since the API was changed by the commit
9af6d95624
.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
338c7ed070
commit
3fffe871b9
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ static int wm9712_add_controls(struct snd_soc_codec *codec)
|
|||
* the codec only has a single control that is shared by both channels.
|
||||
* This makes it impossible to determine the audio path.
|
||||
*/
|
||||
static int mixer_event (struct snd_soc_dapm_widget *w, int event)
|
||||
static int mixer_event(struct snd_soc_dapm_widget *w,
|
||||
struct snd_kcontrol *k, int event)
|
||||
{
|
||||
u16 l, r, beep, line, phone, mic, pcm, aux;
|
||||
|
||||
|
|
Loading…
Reference in a new issue