ASoC: core: Move the default regmap I/O setting to snd_soc_register_codec()
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 26 Mar 2014 05:40:23 +0000 (13:40 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:22:18 +0000 (17:22 +0100)
commita39f75f7907fa3a708751dc283e3ab3e7da526b8
tree464d1902678907ac8ab6f8999f6f49381e0fcaa2
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: core: Move the default regmap I/O setting to snd_soc_register_codec()

Add the default regmap I/O setting to snd_soc_register_codec() while
the CODEC is initialising, which will be called by CODEC driver device
probe(), and then we can make XXX_set_cache_io() go away entirely from each
CODEC ASoC probe.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-io.c