Skip to contentSkip to conversation

ASoC: Fix off by one error in WM8994 EQ register bank size

PATCH In review Mark Brown 2 participants 3 messages Dec 6, 2010

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 ASoC: Fix off by one error in WM8994 EQ register bank size

From: Uk Kim <[email protected]>

---
 include/linux/mfd/wm8994/pdata.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/mfd/wm8994/pdata.h +1 -1
index 5c51f36..add8a1b 100644
@@ -29,7 +29,7 @@ struct wm8994_ldo_pdata {
 #define WM8994_CONFIGURE_GPIO 0x8000
 
 #define WM8994_DRC_REGS 5
-#define WM8994_EQ_REGS  19
+#define WM8994_EQ_REGS  20
 
 /**
  * DRC configurations are specified with a label and a set of register
Signature · 1 line
1.7.2.3
author
#1 lore raw

PATCH 2/2 ASoC: Fix swap of left and right channels for WM8993/4 speaker boost gain

From: Uk Kim <[email protected]>

SPKOUTL_BOOST start from third bit, SPKOUTLR_BOOST start from 0 bit.

---
 sound/soc/codecs/wm_hubs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm_hubs.c +1 -1
index 19ca782..0e24092 100644
@@ -293,7 +293,7 @@ SOC_DOUBLE_R("Speaker Switch",
 SOC_DOUBLE_R("Speaker ZC Switch",
 	     WM8993_SPEAKER_VOLUME_LEFT, WM8993_SPEAKER_VOLUME_RIGHT,
 	     7, 1, 0),
-SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 0, 3, 7, 0,
+SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 3, 0, 7, 0,
 	       spkboost_tlv),
 SOC_ENUM("Speaker Reference", speaker_ref),
 SOC_ENUM("Speaker Mode", speaker_mode),
Signature · 1 line
1.7.2.3