]> 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)
commitaf2f86b9cc43235845c7851807c5f914b990be6e
tree7cf2c0119f6142ddc6a6820d39c480bbad65fe5a
parented4c0e42e851d5178cd0d1dc05de408325576e1c
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