• Liam Girdwood's avatar
    ASoC: core: Add card mutex locking subclasses · 01b9d99a
    Liam Girdwood authored
    This is the first part of a change that is intended to improve
    ASoC locking protection for DAPM and PCM operations.
    
    This part of the series adds a mutex class for the soc_card mutex. The
    SND_SOC_CARD_CLASS_INIT class is used for card initialisation only whilst the
    SND_SOC_CARD_CLASS_PCM class is used for the forth coming Dynamic
    PCM operations. The new mutex classes are required otherwise we will see a false
    positive mutex deadlock warning between the card initialisation and the PCM
    operations (something that would never deadlock in real life).
    Signed-off-by: default avatarLiam Girdwood <lrg@ti.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    01b9d99a
soc-core.c 93.6 KB