This is a note to let you know that I've just added the patch titled

    ASoC: Don't go through cache when applying WM5100 rev A updates

to the 3.2-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-don-t-go-through-cache-when-applying-wm5100-rev-a-updates.patch
and it can be found in the queue-3.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 495174a8ffbaa0d15153d855cf206cdc46d51cf4 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Thu, 19 Jan 2012 11:16:37 +0000
Subject: ASoC: Don't go through cache when applying WM5100 rev A updates

From: Mark Brown <[email protected]>

commit 495174a8ffbaa0d15153d855cf206cdc46d51cf4 upstream.

These are all to either uncached registers or fixes to register defaults,
in the former case the cache won't do anything and in the latter case
we're fixing things so the cache sync will do the right thing.

Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 sound/soc/codecs/wm5100.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1379,6 +1379,7 @@ static int wm5100_set_bias_level(struct
 
                        switch (wm5100->rev) {
                        case 0:
+                               regcache_cache_bypass(wm5100->regmap, true);
                                snd_soc_write(codec, 0x11, 0x3);
                                snd_soc_write(codec, 0x203, 0xc);
                                snd_soc_write(codec, 0x206, 0);
@@ -1394,6 +1395,7 @@ static int wm5100_set_bias_level(struct
                                        snd_soc_write(codec,
                                                      
wm5100_reva_patches[i].reg,
                                                      
wm5100_reva_patches[i].val);
+                               regcache_cache_bypass(wm5100->regmap, false);
                                break;
                        default:
                                break;


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.2/asoc-wm8996-call-_post_pmu-callback-for-cpvdd.patch
queue-3.2/asoc-disable-register-synchronisation-for-low-frequency-wm8996-sysclk.patch
queue-3.2/asoc-mark-wm5100-register-map-cache-only-when-going-into-bias_off.patch
queue-3.2/asoc-don-t-go-through-cache-when-applying-wm5100-rev-a-updates.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to