• V
    ASoC: Intel: Add sst_ipc_tx_message_nopm · 80a0df18
    Vinod Koul 提交于
    If the DSP is in low power mode, it needs to be woken up by a "wake" IPC
    to set it into the D0 state before we can send any other IPC command.
    
    The call flow is that the driver calls sst_ipc_tx_message_wait() to send any
    IPC and this call checks if the device is in low power mode and in that
    case we need to send the wake IPC.
    
    So add a new IPC nopm variant which can be called from driver and
    doesn't check for power state (as we already know that) and avoids
    circular dependency of again checking power state.
    Signed-off-by: NJayachandran B <jayachandran.b@intel.com>
    Signed-off-by: NVinod Koul <vinod.koul@intel.com>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    80a0df18
sst-ipc.c 8.2 KB