]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.8.8/asoc-wm8903-fix-the-bypass-to-hp-lineout-when-no-dac-or-adc-is-running.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.8.8 / asoc-wm8903-fix-the-bypass-to-hp-lineout-when-no-dac-or-adc-is-running.patch
CommitLineData
fc3fed8a
GKH
1From f1ca493b0b5e8f42d3b2dc8877860db2983f47b6 Mon Sep 17 00:00:00 2001
2From: Alban Bedel <alban.bedel@avionic-design.de>
3Date: Tue, 9 Apr 2013 17:13:59 +0200
4Subject: ASoC: wm8903: Fix the bypass to HP/LINEOUT when no DAC or ADC is running
5
6From: Alban Bedel <alban.bedel@avionic-design.de>
7
8commit f1ca493b0b5e8f42d3b2dc8877860db2983f47b6 upstream.
9
10The Charge Pump needs the DSP clock to work properly, without it the
11bypass to HP/LINEOUT is not working properly. This requirement is not
12mentioned in the datasheet but has been confirmed by Mark Brown from
13Wolfson.
14
15Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
16Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
17Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19---
20 sound/soc/codecs/wm8903.c | 2 ++
21 1 file changed, 2 insertions(+)
22
23--- a/sound/soc/codecs/wm8903.c
24+++ b/sound/soc/codecs/wm8903.c
25@@ -1083,6 +1083,8 @@ static const struct snd_soc_dapm_route w
26 { "ROP", NULL, "Right Speaker PGA" },
27 { "RON", NULL, "Right Speaker PGA" },
28
29+ { "Charge Pump", NULL, "CLK_DSP" },
30+
31 { "Left Headphone Output PGA", NULL, "Charge Pump" },
32 { "Right Headphone Output PGA", NULL, "Charge Pump" },
33 { "Left Line Output PGA", NULL, "Charge Pump" },