ASoC: tlv320aic3x: Complete the soc-cache conversion
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 14 Sep 2010 13:59:47 +0000 (16:59 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 15 Sep 2010 12:56:15 +0000 (13:56 +0100)
commit9900daa81b9e668c28ecf568c714ee49090aa187
tree0e94e0609867c1c39841043bc9dcfb1b39b977a0
parenta84a441ba3cab4a62a8ed40fbfbc112ded50f492
ASoC: tlv320aic3x: Complete the soc-cache conversion

Complete the phasing out of aic3x_read_reg_cache, aic3x_write_reg_cache,
aic3x_read and aic3x_write calls.

This patch uses in aic3x_read the codec->hw_read that points to a function
implemented by soc-cache. Only use for aic3x_read is if wanting to read
volatile bits from those registers that has both read-only and read/write
bits. All other cases should use snd_soc_read.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320aic3x.c