From: Xiubo Li
Date: Thu, 27 Feb 2014 09:49:52 +0000 (+0800)
Subject: ASoC: core: Set the default I/O up try regmap.
X-Git-Tag: v3.15-rc1~36^2~1^2~4^2~10^2~7
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe2265e4833a3ebea426d748b5ecf8d3ff31edc8;p=pandora-kernel.git
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
Signed-off-by: Mark Brown
---
Reading git-diff-tree failed