• Mark Brown's avatar
    ASoC: Allow DAPM pin operations to match any context · 0d86733c
    Mark Brown authored
    The DAPM pin operations currently require that the specific DAPM context
    that the pin being operated in is contained in be specified. With multi
    component and especially with the addition of a per-card DAPM context
    this isn't ideal as it means that things like disabling unused pins on
    CODECs require looking up the CODEC DAPM context.
    
    Fix this by falling back to matching a widget in any context if there isn't
    a match in the current context. The code isn't ideal currently but will do
    the job.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: default avatarLiam Girdwood <lrg@ti.com>
    0d86733c
soc-dapm.c 61.6 KB