Skip to content

Commit

Permalink
[ALSA] ASoC: Fix WM9712 mixer_event DAPM widget function type
Browse files Browse the repository at this point in the history
Add kcontrol argument to function since the API was changed by the commit
9af6d95.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Jarkko Nikula authored and Takashi Iwai committed Feb 29, 2008
1 parent 338c7ed commit 3fffe87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/codecs/wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3fffe87

Please sign in to comment.