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

    ASoC: When disabling WM8994 FLL force a source selection

to the 2.6.37-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-when-disabling-wm8994-fll-force-a-source-selection.patch
and it can be found in the queue-2.6.37 subdirectory.

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


>From 4514e8997fbefd5befd6176ac9785e287b4daed4 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Fri, 3 Dec 2010 16:02:10 +0000
Subject: ASoC: When disabling WM8994 FLL force a source selection

From: Mark Brown <[email protected]>

commit 4514e8997fbefd5befd6176ac9785e287b4daed4 upstream.

When we disable the WM8994 FLL code path sharing means that we end up
writing out a configuration. Currently this is the currently active
input and output frequency (which causes snd_soc_update_bits() to
suppress actual writes both immediately and in the common case where
we reenable the same configuration later) but we allow machine drivers
to pass through a source of zero. Since the register values written
are one less than the source constants this causes corruption of other
bitfields in the register.

Fix this by using the most recently configured FLL source when none is
provided.

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

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

--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2930,6 +2930,7 @@ static int _wm8994_set_fll(struct snd_so
                /* Allow no source specification when stopping */
                if (freq_out)
                        return -EINVAL;
+               src = wm8994->fll[id].src;
                break;
        case WM8994_FLL_SRC_MCLK1:
        case WM8994_FLL_SRC_MCLK2:


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

queue-2.6.37/asoc-when-disabling-wm8994-fll-force-a-source-selection.patch
queue-2.6.37/asoc-blackfin-tdm-fix-missed-snd_soc_dai_get_drvdata-update.patch
queue-2.6.37/asoc-wm8990-msleep-takes-milliseconds-not-jiffies.patch
queue-2.6.37/asoc-blackfin-ac97-fix-build-error-after-multi-component-update.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to