[alsa-devel] [PATCH] wm8974: fix a wrong bit definition
The wm8974 datasheet defines BUFIOEN as bit 2.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de ---
no idea if this would break anything, so, please test. Maybe the correct fix would be to actually use a correct name for bit 4, but who wants to enable Mic bias when putting bias into standby?...
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c index eff2933..fb99433 100644 --- a/sound/soc/codecs/wm8974.c +++ b/sound/soc/codecs/wm8974.c @@ -47,7 +47,7 @@ static const u16 wm8974_reg[WM8974_CACHEREGNUM] = { };
#define WM8974_POWER1_BIASEN 0x08 -#define WM8974_POWER1_BUFIOEN 0x10 +#define WM8974_POWER1_BUFIOEN 0x04
struct wm8974_priv { struct snd_soc_codec codec;
On Thu, Dec 17, 2009 at 02:51:35PM +0100, Guennadi Liakhovetski wrote:
The wm8974 datasheet defines BUFIOEN as bit 2.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de
Applied, thanks.
participants (2)
-
Guennadi Liakhovetski
-
Mark Brown