diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-03-11 00:43:20 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-11 05:59:05 -0400 |
commit | 5d6be5aa6becc750c5c2aa0ef8f7209ce19aa328 (patch) | |
tree | 332783c28f3fe037cdaaa86f9b30072904be6ddd /sound/soc/codecs/wm2000.c | |
parent | db5a5ee7c7b20a1780f90c6f2b8de322844b6fe9 (diff) |
ASoC: codec: Simplify ASoC probe code.
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm2000.c')
-rw-r--r-- | sound/soc/codecs/wm2000.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c index 8ae50274ea8f..83a2c872925c 100644 --- a/sound/soc/codecs/wm2000.c +++ b/sound/soc/codecs/wm2000.c | |||
@@ -786,8 +786,6 @@ static int wm2000_probe(struct snd_soc_codec *codec) | |||
786 | { | 786 | { |
787 | struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev); | 787 | struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev); |
788 | 788 | ||
789 | snd_soc_codec_set_cache_io(codec, 16, 8, SND_SOC_REGMAP); | ||
790 | |||
791 | /* This will trigger a transition to standby mode by default */ | 789 | /* This will trigger a transition to standby mode by default */ |
792 | wm2000_anc_set_mode(wm2000); | 790 | wm2000_anc_set_mode(wm2000); |
793 | 791 | ||