ASoC: wm8997: Remove the set_cache_io() entirely from ASoC probe.
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 26 Mar 2014 05:40:33 +0000 (13:40 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:22:20 +0000 (17:22 +0100)
commit964eafb1d59b7c270982d144882c64b93c67eb03
treeac2c8eecb21ba5965d445cf5439a88b8b0865d77
parentc0b6f59b7036c0cb7e0d03240fcb095104855ab9
ASoC: wm8997: Remove the set_cache_io() entirely from ASoC probe.

As we can set the CODEC I/O while snd_soc_register_codec(), so the
calling of set_cache_io() from CODEC ASoC probe could be removed
entirely.

And then we can set the CODEC I/O in the device probe instead of
CODEC ASoC probe as earily as possible.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8997.c