summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-10-20 10:25:58 +0100
committerSasha Levin <sasha.levin@oracle.com>2015-11-15 12:51:48 -0500
commita8b451d26cabcfac073b014feb89dfa23992295c (patch)
treebeb79e7c59ddebfdaf06d6be61da0d396a432fa0 /include
parenta17d7e441e6dae28978690aaca6b630e1f661e2e (diff)
ASoC: wm8904: Correct number of EQ registers
[ Upstream commit 97aff2c03a1e4d343266adadb52313613efb027f ] There are 24 EQ registers not 25, I suspect this bug came about because the registers start at EQ1 not zero. The bug is relatively harmless as the extra register written is an unused one. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/wm8904.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/wm8904.h b/include/sound/wm8904.h
index 898be3a8db9a..6d8f8fba3341 100644
--- a/include/sound/wm8904.h
+++ b/include/sound/wm8904.h
@@ -119,7 +119,7 @@
#define WM8904_MIC_REGS 2
#define WM8904_GPIO_REGS 4
#define WM8904_DRC_REGS 4
-#define WM8904_EQ_REGS 25
+#define WM8904_EQ_REGS 24
/**
* DRC configurations are specified with a label and a set of register