summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-01-15 18:12:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-06 11:34:02 -0800
commitf76d48bbe631eb18132bf0c50a79a5dce64c2b3b (patch)
tree9cae1b970546e335ab4daf4b1a8c58d05d6e703d /sound
parent5609fd11c56addf3b3ce48b4e0f599282cdf0b62 (diff)
ASoC: tlv320aic32x4: Fix regmap range_min
commit e8e08c521dc101cf7e7e1caf4f487f9fe11a9a7a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tlv320aic32x4.c2
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[] = {
.selector_mask = 0xff,
.window_start = 0,
.window_len = 128,
- .range_min = AIC32X4_PAGE1,
+ .range_min = 0,
.range_max = AIC32X4_RMICPGAVOL,
},
};