ASoC: core: Set the default I/O up try regmap.
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 27 Feb 2014 09:49:52 +0000 (17:49 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 28 Feb 2014 03:52:14 +0000 (12:52 +0900)
For most CODEC drivers which the REGMAP is used, the soc_probe_codec()
will do the stuff work of snd_soc_codec_set_cache_io(), which the CODEC
drivers' ASoC probe will do too, and almost at the same time.

This patch set the default I/O up try regmap, and then the CODEC drivers'
stuff work of snd_soc_codec_set_cache_io() will be redundant, while if one
CODEC driver needed to set it's own I/O, then it can rewrite the default ones.
Then could we just discard the snd_soc_codec_set_cache_io() from the CODEC
drivers' ASoC probe to simplify the code.

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

Simple merge