dect
/
linux-2.6
Archived
13
0
Fork 0

Merge remote-tracking branch 'asoc/topic/wm2000' into asoc-next

This commit is contained in:
Mark Brown 2012-12-02 13:35:17 +09:00
commit 9f07f658c4
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ static const struct snd_kcontrol_new wm2000_controls[] = {
static int wm2000_anc_power_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
struct snd_soc_codec *codec = w->codec;
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);
if (SND_SOC_DAPM_EVENT_ON(event))