ASoC: wm8904: Correct number of EQ registers

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
This commit is contained in:
Charles Keepax 2015-10-20 10:25:58 +01:00 committed by Mark Brown
parent 6ff33f3902
commit 97aff2c03a
1 changed files with 1 additions and 1 deletions

View File

@ -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