diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-01-15 12:12:40 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-15 18:12:44 -0500 |
commit | e8e08c521dc101cf7e7e1caf4f487f9fe11a9a7a (patch) | |
tree | 97706a598669908f0f246aec2d9d708670138a9c /sound | |
parent | 6d0d5103bdc45242b8d02e4130fbe5a3ea9f668a (diff) |
ASoC: tlv320aic32x4: Fix regmap range_min
range_min is the lowest address in the virtual register range. This is
the first register with address 0, not the first register of page 1.
Currently all writes to page 1 are mapped to page 0, so the codec fails
to operate.
Fixes: 4d208ca429ad (ASoC: tlv320aic32x4: Convert to direct regmap API usage)
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org (v3.13 if the fix misses -final)
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tlv320aic32x4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index 6941fa9baf6a..385dec16eb8a 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c | |||
@@ -267,7 +267,7 @@ static const struct regmap_range_cfg aic32x4_regmap_pages[] = { | |||
267 | .selector_mask = 0xff, | 267 | .selector_mask = 0xff, |
268 | .window_start = 0, | 268 | .window_start = 0, |
269 | .window_len = 128, | 269 | .window_len = 128, |
270 | .range_min = AIC32X4_PAGE1, | 270 | .range_min = 0, |
271 | .range_max = AIC32X4_RMICPGAVOL, | 271 | .range_max = AIC32X4_RMICPGAVOL, |
272 | }, | 272 | }, |
273 | }; | 273 | }; |