From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: broonie@opensource.wolfsonmicro.com, chris@edesix.com,
stefan.bader@canonical.com, stable@vger.kernel.org,
stable-commits@vger.kernel.org
Subject: [PATCH][STABLE 2.6.32]ASoC: wm8940: Properly set codec->bias_level
Date: Wed, 09 Nov 2011 09:30:58 +0800 [thread overview]
Message-ID: <1320802258.2564.3.camel@phoenix> (raw)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Chris Paulson-Ellis <chris@edesix.com>
Cc: Stefan Bader <stefan.bader@canonical.com>
Cc: Mark Brown <broonie@opensource.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
reply other threads:[~2011-11-09 1:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320802258.2564.3.camel@phoenix \
--to=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=chris@edesix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=stefan.bader@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox