提交 3fffe871 编写于 作者: J Jarkko Nikula 提交者: Takashi Iwai

[ALSA] ASoC: Fix WM9712 mixer_event DAPM widget function type

Add kcontrol argument to function since the API was changed by the commit
9af6d956.
Signed-off-by: NJarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 338c7ed0
...@@ -176,7 +176,8 @@ static int wm9712_add_controls(struct snd_soc_codec *codec) ...@@ -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. * the codec only has a single control that is shared by both channels.
* This makes it impossible to determine the audio path. * 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; u16 l, r, beep, line, phone, mic, pcm, aux;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册