]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Fix binding and probing of auxiliary components
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 29 Dec 2016 13:11:21 +0000 (14:11 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 31 Dec 2016 18:28:36 +0000 (18:28 +0000)
commitd2e3a1358c37cd82eef92b5e908b4f0472194481
tree84ef77e79d559d74195b8fa3d442fe1c091c9108
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: Fix binding and probing of auxiliary components

Currently binding of auxiliary devices doesn't work as in
soc_bind_aux_dev() function a bound component is not being added
to any list and in soc_probe_aux_devices() we are trying to walk
the component_dev_list list to probe auxiliary components but
at that time this list doesn't contain any auxiliary components
since they are being added to the card only in soc_probe_component().

This patch adds a list to the card where are stored bound but not
probed auxiliary devices, so that all aux devices can be probed.

Fixes: 1a653aa44725 "ASoC: core: replace aux_comp_list to component_dev_list"
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c