Commit a9157a22 authored by Charles Keepax's avatar Charles Keepax Committed by Luis Henriques

ASoC: wm8904: Correct number of EQ registers

commit 97aff2c0 upstream.

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: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 3c66f494
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
#define WM8904_MIC_REGS 2 #define WM8904_MIC_REGS 2
#define WM8904_GPIO_REGS 4 #define WM8904_GPIO_REGS 4
#define WM8904_DRC_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 * DRC configurations are specified with a label and a set of register
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment