This is a note to let you know that I've just added the patch titled
ASoC: Fix WM8962 headphone volume update for use of advanced
to the 2.6.39-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
asoc-fix-wm8962-headphone-volume-update-for-use-of-advanced.patch
and it can be found in the queue-2.6.39 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 0f82bdf572fc6e42147151aa4d52542f7fc6d793 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Tue, 7 Jun 2011 23:42:04 +0100
Subject: ASoC: Fix WM8962 headphone volume update for use of advanced
caches
From: Mark Brown <[email protected]>
commit 0f82bdf572fc6e42147151aa4d52542f7fc6d793 upstream.
Signed-off-by: Mark Brown <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/soc/codecs/wm8962.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -1998,12 +1998,12 @@ static int wm8962_put_hp_sw(struct snd_k
return 0;
/* If the left PGA is enabled hit that VU bit... */
- if (reg_cache[WM8962_PWR_MGMT_2] & WM8962_HPOUTL_PGA_ENA)
+ if (snd_soc_read(codec, WM8962_PWR_MGMT_2) & WM8962_HPOUTL_PGA_ENA)
return snd_soc_write(codec, WM8962_HPOUTL_VOLUME,
reg_cache[WM8962_HPOUTL_VOLUME]);
/* ...otherwise the right. The VU is stereo. */
- if (reg_cache[WM8962_PWR_MGMT_2] & WM8962_HPOUTR_PGA_ENA)
+ if (snd_soc_read(codec, WM8962_PWR_MGMT_2) & WM8962_HPOUTR_PGA_ENA)
return snd_soc_write(codec, WM8962_HPOUTR_VOLUME,
reg_cache[WM8962_HPOUTR_VOLUME]);
Patches currently in stable-queue which might be from
[email protected] are
queue-2.6.39/asoc-ad1836-fix-setting-the-pcm-format.patch
queue-2.6.39/asoc-samsung-fix-the-incorrect-referencing-of-i2scon.patch
queue-2.6.39/asoc-snd_soc_new_-mixer-mux-pga-make-sure-to-use-right.patch
queue-2.6.39/asoc-wm8804-does-not-support-sample-rates-below-32khz.patch
queue-2.6.39/asoc-fix-wm8962-headphone-volume-update-for-use-of-advanced.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable