]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Dec 2013 20:02:18 +0000 (12:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Dec 2013 20:02:18 +0000 (12:02 -0800)
added patches:
asoc-wm8731-fix-dsp-mode-configuration.patch
asoc-wm8990-mark-the-register-map-as-dirty-when-powering-down.patch

queue-3.4/asoc-wm8731-fix-dsp-mode-configuration.patch [new file with mode: 0644]
queue-3.4/asoc-wm8990-mark-the-register-map-as-dirty-when-powering-down.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/asoc-wm8731-fix-dsp-mode-configuration.patch b/queue-3.4/asoc-wm8731-fix-dsp-mode-configuration.patch
new file mode 100644 (file)
index 0000000..2223c9c
--- /dev/null
@@ -0,0 +1,37 @@
+From b4af6ef99a60c5b56df137d7accd81ba1ee1254e Mon Sep 17 00:00:00 2001
+From: Bo Shen <voice.shen@atmel.com>
+Date: Tue, 3 Dec 2013 18:04:54 +0800
+Subject: ASoC: wm8731: fix dsp mode configuration
+
+From: Bo Shen <voice.shen@atmel.com>
+
+commit b4af6ef99a60c5b56df137d7accd81ba1ee1254e upstream.
+
+According to WM8731 "PD, Rev 4.9 October 2012" datasheet, when it
+works in DSP mode A, LRP = 1, while works in DSP mode B, LRP = 0.
+So, fix LRP for DSP mode as the datesheet specification.
+
+Signed-off-by: Bo Shen <voice.shen@atmel.com>
+Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
+Signed-off-by: Mark Brown <broonie@linaro.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/soc/codecs/wm8731.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/sound/soc/codecs/wm8731.c
++++ b/sound/soc/codecs/wm8731.c
+@@ -406,10 +406,10 @@ static int wm8731_set_dai_fmt(struct snd
+               iface |= 0x0001;
+               break;
+       case SND_SOC_DAIFMT_DSP_A:
+-              iface |= 0x0003;
++              iface |= 0x0013;
+               break;
+       case SND_SOC_DAIFMT_DSP_B:
+-              iface |= 0x0013;
++              iface |= 0x0003;
+               break;
+       default:
+               return -EINVAL;
diff --git a/queue-3.4/asoc-wm8990-mark-the-register-map-as-dirty-when-powering-down.patch b/queue-3.4/asoc-wm8990-mark-the-register-map-as-dirty-when-powering-down.patch
new file mode 100644 (file)
index 0000000..d850086
--- /dev/null
@@ -0,0 +1,30 @@
+From 2ab2b74277a86afe0dd92976db695a2bb8b93366 Mon Sep 17 00:00:00 2001
+From: Mark Brown <broonie@linaro.org>
+Date: Fri, 22 Nov 2013 14:17:18 +0000
+Subject: ASoC: wm8990: Mark the register map as dirty when powering down
+
+From: Mark Brown <broonie@linaro.org>
+
+commit 2ab2b74277a86afe0dd92976db695a2bb8b93366 upstream.
+
+Otherwise we'll skip sync on resume.
+
+Signed-off-by: Mark Brown <broonie@linaro.org>
+Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/soc/codecs/wm8990.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/sound/soc/codecs/wm8990.c
++++ b/sound/soc/codecs/wm8990.c
+@@ -1265,6 +1265,8 @@ static int wm8990_set_bias_level(struct
+               /* disable POBCTRL, SOFT_ST and BUFDCOPEN */
+               snd_soc_write(codec, WM8990_ANTIPOP2, 0x0);
++
++              codec->cache_sync = 1;
+               break;
+       }
index 7d57e62c8011a669020af2babe7622cb36e62c31..7cb1d26f8f2e8fd6af16259e2630478fc6110961 100644 (file)
@@ -1,3 +1,5 @@
 crypto-scatterwalk-set-the-chain-pointer-indication-bit.patch
 crypto-ccm-fix-handling-of-zero-plaintext-when-computing-mac.patch
 crypto-authenc-find-proper-iv-address-in-ablkcipher-callback.patch
+asoc-wm8990-mark-the-register-map-as-dirty-when-powering-down.patch
+asoc-wm8731-fix-dsp-mode-configuration.patch