• Sylwester Nawrocki's avatar
    ASoC: Fix binding and probing of auxiliary components · d2e3a135
    Sylwester Nawrocki authored
    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: 1a653aa4 "ASoC: core: replace aux_comp_list to component_dev_list"
    Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    d2e3a135
soc.h 59.1 KB