]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sta32x: fix register range in regmap.
authorThomas Niederprüm <niederp@physik.uni-kl.de>
Sat, 21 Feb 2015 16:22:38 +0000 (17:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 08:45:31 +0000 (17:45 +0900)
commit593fd6b4da3cb41a5a11863bbce6521cbcca1a88
tree547de415e171a89cab2fe0460221b62f231a5311
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
ASoC: sta32x: fix register range in regmap.

The STA32X_AUTO3 is a writable register that currently does not appear
in the regmap ranges(neither read nor write). By adding this register
to the register ranges there is no gap anymore and the existing
register ranges can be joined. This fixes a regression introduced in
commit 552ef20e661948017c8ce694089b6e00f6e27a33 where the driver was
moved to direct regmap usage and the STA32X_AUTO3 register was missed.
That made it impossible to choose the preset EQ mode set through the
STA32X_AUTO3 register.

Fixes: 552ef20e66 (ASoC: sta32x: Convert to direct regmap API usage)
Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sta32x.c