ASoC: don't use snd_soc_write/read on twl4030
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Nov 2017 01:05:17 +0000 (01:05 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2017 18:50:17 +0000 (18:50 +0000)
commit3bb0f7c31b1aedd0f85c675297031281799145d7
treee299bc3a2cc3d50e0414de66981866006a787dc6
parent2dbb29cd977fc281f71f8895abce7e382efe77e1
ASoC: don't use snd_soc_write/read on twl4030

twl4030 doesn't use regmap nor reg_cache. Its write/read are done
through twl4030_reg_write/read. This driver directly calling these
functions, but sometimes using snd_soc_write/read.
As part of cleanup, snd_soc_codec_driver::write, read will be
removed soon. Then, write/read access through snd_soc_write/read
will doesn't work on this driver, since it doesn't use regmap nor
reg_cache.
This patch replace snd_soc_write/read to twl4030_write/read.

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