[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1320802258.2564.3.camel@phoenix>
Date: Wed, 09 Nov 2011 09:30:58 +0800
From: Axel Lin <axel.lin@...il.com>
To: linux-kernel@...r.kernel.org
Cc: broonie@...nsource.wolfsonmicro.com, chris@...six.com,
stefan.bader@...onical.com, stable@...r.kernel.org,
stable-commits@...r.kernel.org
Subject: [PATCH][STABLE 2.6.32]ASoC: wm8940: Properly set codec->bias_level
Signed-off-by: Axel Lin <axel.lin@...il.com>
Signed-off-by: Chris Paulson-Ellis <chris@...six.com>
Cc: Stefan Bader <stefan.bader@...onical.com>
Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>
---
Due to API change, the patch "ASoC: wm8940: Properly set codec->dapm.bias_level"
won't build in linux-2.6.32. Thus we need this revision for 2.6.32.
This patch is against linux-2.6.32.
Regards,
Axel
sound/soc/codecs/wm8940.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index 1ef2454..de081df 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -472,6 +472,7 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg);
break;
}
+ codec->bias_level = level;
return ret;
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists