]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcae7a56b3457ed3d803fd3e15414579170fd755c
tree0e94e0609867c1c39841043bc9dcfb1b39b977a0
parent327d20acbd4fd7b85f4d0f52137e9d8d817b3c49
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