ASoC: don't use snd_soc_write/read on twl6040
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Nov 2017 01:04:58 +0000 (01:04 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2017 18:50:01 +0000 (18:50 +0000)
commit93a00c467fe998bf5716cbc9cabc127046054782
treefd3dbc63f69815ef6e9d2b9d3da5b11459126e0d
parent3bd333677d6091d989068b0f7ff7aba975e62dc5
ASoC: don't use snd_soc_write/read on twl6040

twl6040 doesn't use regmap nor reg_cache. Its write/read are done
through twl6040_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 twl6040_write/read.

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