]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 06:06:19 +0000 (22:06 -0800)
commite884073b0cec6548af1ade10682fd896af783510
treee1d56048bd37cfb8efacffa1c3cfaeaf4327f150
parent10918de3e12ffc283367d1474fe7c6ad707212d3
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