17 Dec
2009
17 Dec
'09
2:51 p.m.
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;