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

    ASoC: wm8994: Enabling VMID should take a runtime PM reference

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-wm8994-enabling-vmid-should-take-a-runtime-pm-reference.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 db966f8abb9ba74f7d5a7230f51572f52c31c4e5 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Mon, 6 Feb 2012 12:07:08 +0000
Subject: ASoC: wm8994: Enabling VMID should take a runtime PM reference

From: Mark Brown <[email protected]>

commit db966f8abb9ba74f7d5a7230f51572f52c31c4e5 upstream.

We can enable VMID independently of the bias in some use cases so we need
to ensure that the core device is powered up.

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

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

--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -729,6 +729,8 @@ static void vmid_reference(struct snd_so
 {
        struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
 
+       pm_runtime_get_sync(codec->dev);
+
        wm8994->vmid_refcount++;
 
        dev_dbg(codec->dev, "Referencing VMID, refcount is now %d\n",
@@ -796,6 +798,8 @@ static void vmid_dereference(struct snd_
                                    WM8994_VMID_BUF_ENA |
                                    WM8994_VMID_RAMP_MASK, 0);
        }
+
+       pm_runtime_put(codec->dev);
 }
 
 static int vmid_event(struct snd_soc_dapm_widget *w,


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

queue-3.2/asoc-wm_hubs-fix-routing-of-input-pgas-to-line-output.patch
queue-3.2/asoc-wm_hubs-enable-line-out-vmid-buffer-for-single-ended-line-outputs.patch
queue-3.2/asoc-wm8962-fix-word-length-configuration.patch
queue-3.2/asoc-wm8994-fix-typo-in-vmid-ramp-setting.patch
queue-3.2/asoc-wm8994-enabling-vmid-should-take-a-runtime-pm-reference.patch
queue-3.2/asoc-wm_hubs-fix-wrong-bits-for-lineout2-n-p-mixer.patch
queue-3.2/asoc-wm_hubs-correct-line-input-to-line-output-2-paths.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