On Fri, Oct 28, 2016 at 07:05:34PM +0100, Mark Brown wrote:
On Mon, Sep 26, 2016 at 11:05:29AM +0530, Vinod Koul wrote:
Add a IPC API to send IPC without waking up DSP.
This is helpful when the DSP is already in woken up state(not in any low power mode) and an IPC is to be sent.
Why is the IPC API for cases where the DSP needs to be woken not implemented in terms of this one?
So driver can send an IPC message but it doesn't know if the device is active or in low powered mode, so it checks...
But in case of later, the check yields another IPC message to bring up the DSP, then send the original message. Having same API do both causes circular dependency, so we ended up doing a nopm variant which is used to only wake up or put into low power state.
Thanks