Skip to content

Commit

Permalink
ASoC: wm8904: Correct number of EQ registers
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Charles Keepax authored and Mark Brown committed Oct 20, 2015
1 parent 6ff33f3 commit 97aff2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/wm8904.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97aff2c

Please sign in to comment.