summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/wm8758.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index 9d2a300e70..33960af9b4 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -286,14 +286,14 @@ void wmcodec_set_equalizer_band(int band, int freq, int bw, int gain)
eq |= 12 - gain;
if (band == 0) {
- wm8758_write(EQ0, eq | 0x100); /* Always apply EQ to the DAC path */
+ wm8758_write(EQ1, eq | 0x100); /* Always apply EQ to the DAC path */
} else if (band == 1) {
- wm8758_write(EQ1, eq);
- } else if (band == 2) {
wm8758_write(EQ2, eq);
- } else if (band == 3) {
+ } else if (band == 2) {
wm8758_write(EQ3, eq);
- } else if (band == 4) {
+ } else if (band == 3) {
wm8758_write(EQ4, eq);
+ } else if (band == 4) {
+ wm8758_write(EQ5, eq);
}
}