• Jeeja KP's avatar
    ASoC: Intel: Skylake: Configure DMA in PRE_PMD handler of Mixer · bb704a73
    Jeeja KP authored
    If system is suspended when PCM was paused/stopped, restart doesn't
    configure DMA as it is we are in Pause state and results in IO error
    eventually.
    
    Configure host/link DMA before initializing DSP Gateway copier module
    instead of DAI prepare(). So moved DMA configuration to mixer PRE_PMD
    widget handler instead of DAI prepare.
    
    This uses previously added new API to do the configuration and removes
    old DAI prepare code.
    Signed-off-by: default avatarJeeja KP <jeeja.kp@intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    bb704a73
skl-topology.c 62.7 KB