]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: da732x: Replace hw_read usage with snd_soc_read()
authorMark Brown <broonie@linaro.org>
Tue, 4 Mar 2014 08:54:58 +0000 (16:54 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 4 Mar 2014 10:11:55 +0000 (18:11 +0800)
commitd4179c1deafd216b9358f76f5f399220cb8451ab
tree57f4bd97f442be811fcaa8794ef3307af9bc5052
parent30519cb8d2ecb7f0f0cdc42d709da0d9f7a04bcb
ASoC: da732x: Replace hw_read usage with snd_soc_read()

Pre-merge code was using direct hw_read() calls as an out of framework
way of doing volatile register I/O when not using regmap. This has never
functioned correctly in mainline due to the regmap conversion, the
hw_read() implementation still does caching. In order to facilitate
removal of the subsystem level I/O code convert to use snd_soc_read(),
there should be no functional impact.

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