summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sgtl5000.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-02-27 10:49:52 +0100
committerMark Brown <broonie@linaro.org>2014-02-28 04:52:14 +0100
commitfe2265e4833a3ebea426d748b5ecf8d3ff31edc8 (patch)
treedd96960659caef35632def5a4df7681e98a8eb6f /sound/soc/codecs/sgtl5000.c
parentASoC: io: Clean up snd_soc_codec_set_cache_io() (diff)
downloadlinux-fe2265e4833a3ebea426d748b5ecf8d3ff31edc8.tar.xz
linux-fe2265e4833a3ebea426d748b5ecf8d3ff31edc8.zip
ASoC: core: Set the default I/O up try regmap.
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>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.c')
0 files changed, 0 insertions, 0 deletions