]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic32x4: Fix regmap range_min
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 15 Jan 2014 17:12:40 +0000 (18:12 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 15 Jan 2014 23:12:44 +0000 (23:12 +0000)
commit1ce899a832d167f09ef58e67268d22eb1fcca376
tree97706a598669908f0f246aec2d9d708670138a9c
parentdb6b49cf81cf84e0a85cfe4b9ed71068cf1356ed
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: e889aa0d7f01 (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)
sound/soc/codecs/tlv320aic32x4.c