]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: da732x: Mark DC offset control registers volatile
authorMark Brown <broonie@linaro.org>
Mon, 24 Feb 2014 02:59:14 +0000 (11:59 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 26 Feb 2014 11:30:36 +0000 (20:30 +0900)
commitc27fa5e39b1d9aba070bcc8c56e810415fe65ecb
tree7cf2c0119f6142ddc6a6820d39c480bbad65fe5a
parent6333ef0a6d756a72c48035feae2450b64f0372e4
ASoC: da732x: Mark DC offset control registers volatile

The driver reads from the DC offset control registers during callibration
but since the registers are marked as volatile and there is a register
cache the values will not be read from the hardware after the first reading
rendering the callibration ineffective.

It appears that the driver was originally written for the ASoC level
register I/O code but converted to regmap prior to merge and this issue
was missed during the conversion as the framework level volatile register
functionality was not being used.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/da732x.c