ASoC: da732x: Mark DC offset control registers volatile
authorMark Brown <broonie@linaro.org>
Mon, 24 Feb 2014 02:59:14 +0000 (11:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 05:30:07 +0000 (21:30 -0800)
commit8efd034580964d37aa378089fbe856d1a3963842
tree25b8e2d49df09b0656a63009ca1d756a5250fa14
parent1276754ca69e9bbd403f0583ea70561e63ead72a
ASoC: da732x: Mark DC offset control registers volatile

commit 75306820248e26d15d84acf4e297b9fb27dd3bb2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/da732x.c