ASoC: wm8904: Correct number of EQ registers
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 20 Oct 2015 09:25:58 +0000 (10:25 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 Oct 2015 14:46:09 +0000 (15:46 +0100)
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
include/sound/wm8904.h

index 898be3a8db9aecfc8c9e942e03053b582be3af2a..6d8f8fba33414a40cefc344811ec3acfecd72f01 100644 (file)
 #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