ASoC: da732x: Mark DC offset control registers volatile
authorMark Brown <broonie@linaro.org>
Mon, 24 Feb 2014 02:59:14 +0000 (11:59 +0900)
committerJiri Slaby <jslaby@suse.cz>
Wed, 5 Mar 2014 16:13:44 +0000 (17:13 +0100)
commit3e23d43ae84e765279660fe99438ae572440b49e
treeefcc8be3c7e970a19bb16f47eea28f1d4c531fac
parent9ea6f4ae77698352daa516edef1d7d098d31f583
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: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/da732x.c