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

    ASoC: wm_hubs: Ensure volume updates are handled during class W startup

to the 3.6-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-wm_hubs-ensure-volume-updates-are-handled-during-class-w-startup.patch
and it can be found in the queue-3.6 subdirectory.

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


>From eb4d5fc1f0ce89e3d5b072c594a1e213a0e05881 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Thu, 27 Sep 2012 18:35:24 +0100
Subject: ASoC: wm_hubs: Ensure volume updates are handled during class W startup

From: Mark Brown <[email protected]>

commit eb4d5fc1f0ce89e3d5b072c594a1e213a0e05881 upstream.

In some circumstances we may need to flush volume updates to the device
after switching to class W mode. Do this unconditionally to ensure that
these situations are handled.

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

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

--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -634,6 +634,11 @@ void wm_hubs_update_class_w(struct snd_s
 
        snd_soc_update_bits(codec, WM8993_CLASS_W_0,
                            WM8993_CP_DYN_V | WM8993_CP_DYN_FREQ, enable);
+
+       snd_soc_write(codec, WM8993_LEFT_OUTPUT_VOLUME,
+                     snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME));
+       snd_soc_write(codec, WM8993_RIGHT_OUTPUT_VOLUME,
+                     snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME));
 }
 EXPORT_SYMBOL_GPL(wm_hubs_update_class_w);
 


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

queue-3.6/mfd-max8925-move-_io-resources-out-of-ioport_ioresource.patch
queue-3.6/asoc-wm_hubs-ensure-volume-updates-are-handled-during-class-w-startup.patch
queue-3.6/mfd-88pm860x-move-_io-resources-out-of-ioport_ioresource.patch
queue-3.6/asoc-wm5110-adding-missing-volume-update-bits.patch
queue-3.6/asoc-wm9712-fix-name-of-capture-switch.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