Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Charles Keepax and committed by
Mark Brown
97aff2c0 6ff33f39

+1 -1
+1 -1
include/sound/wm8904.h
··· 119 119 #define WM8904_MIC_REGS 2 120 120 #define WM8904_GPIO_REGS 4 121 121 #define WM8904_DRC_REGS 4 122 - #define WM8904_EQ_REGS 25 122 + #define WM8904_EQ_REGS 24 123 123 124 124 /** 125 125 * DRC configurations are specified with a label and a set of register