]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.32.3/asoc-wm8974-fix-a-wrong-bit-definition.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.32.3 / asoc-wm8974-fix-a-wrong-bit-definition.patch
1 From 48c03ce72f2665f79a3fe54fc6d71b8cc3d30803 Mon Sep 17 00:00:00 2001
2 From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
3 Date: Thu, 17 Dec 2009 14:51:35 +0100
4 Subject: ASoC: wm8974: fix a wrong bit definition
5
6 From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
7
8 commit 48c03ce72f2665f79a3fe54fc6d71b8cc3d30803 upstream.
9
10 The wm8974 datasheet defines BUFIOEN as bit 2.
11
12 Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
13 Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
14 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16
17 ---
18 sound/soc/codecs/wm8974.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/sound/soc/codecs/wm8974.c
22 +++ b/sound/soc/codecs/wm8974.c
23 @@ -47,7 +47,7 @@ static const u16 wm8974_reg[WM8974_CACHE
24 };
25
26 #define WM8974_POWER1_BIASEN 0x08
27 -#define WM8974_POWER1_BUFIOEN 0x10
28 +#define WM8974_POWER1_BUFIOEN 0x04
29
30 struct wm8974_priv {
31 struct snd_soc_codec codec;