]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Add codec_probe and codec_remove stubs
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 11 Jun 2015 10:32:30 +0000 (11:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jun 2015 10:39:39 +0000 (11:39 +0100)
commitec1ccaa29af4a50f9799a141cfe30143308c627f
treef6875032600a2adee9ed607be4f9bf9922994f74
parent1120805fa90b43e3574f92bf0e7162e4a74c88b1
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