OSDN Git Service

ASoC: cx20442: fix regression by adding back .read/.write
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 16 Jan 2018 02:00:18 +0000 (02:00 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jan 2018 13:26:35 +0000 (13:26 +0000)
commit3c89724e994f4aee6ae2637ccd4e12aa4f92666c
treee66e48fbedce3b4085c9d642ccc52428438ef969
parent39b5a0f80c07f41440f38761e4b8d36bf2072007
ASoC: cx20442: fix regression by adding back .read/.write

commit 39b5a0f80c07f ("ASoC: cx20442: don't use reg_cache")
removed .read/.write from driver, but it might breaks non-regmap
driver, because ALSA SoC framework might call it.

To fix this regression, this patch back .read/.write.
and also this patch uses cx20442 internal reg_cache
which is needed for .read/.write.

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