ASoC: wm_adsp: Add codec_probe and codec_remove stubs
commitf5e2ce92bd96df99de1ef33fad05e3b3b2d34e54
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 11 Jun 2015 10:32:30 +0000 (11 11:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jun 2015 10:39:39 +0000 (11 11:39 +0100)
treef6875032600a2adee9ed607be4f9bf9922994f74
parent69a6582eeb17dc083b2510f1ca2eaa54ff679b49
ASoC: wm_adsp: Add codec_probe and codec_remove stubs

Currently the only init function in wm_adsp is called by the
codec driver early in its probe before the codec has been
registered with SOC.

This patch adds stubs for the codec_probe and codec_remove stages
and calls them from WM5102 and WM5110 codec drivers. This allows us
to hang anything that needs setup during the codec probe stage off
these functions without further modification of the codec drivers.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h