OSDN Git Service

ASoC: cx20442: don't use reg_cache
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Nov 2017 01:04:42 +0000 (01:04 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2017 18:49:45 +0000 (18:49 +0000)
commit39b5a0f80c07f41440f38761e4b8d36bf2072007
tree59b059afcbd56227cdee1c787da32b7d9585f621
parentfac3f5e20dcecc2aa03272c5d2d36d253883c6ce
ASoC: cx20442: don't use reg_cache

Codec reg_cache is legacy feature and very few driver only are using
it. But, ALSA SoC framework needs to support it.
Codec will be merged into Component in the future, so, let's remove
legacy and unused feature from framework.

cx20442 is using reg_cache but it is only 1byte, and it doesn't use
snd_soc_write/read/update_bits function which uses reg_cache.
reg_cache user is only debugfs. Let's clean reg_cache for now.
But let's keep .write function since it can be used for new additional
feature. .read will not be used, let's remove.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cx20442.c