[alsa-devel] [PATCH 02/10] ASoC: Intel: Add sst_ipc_tx_message_nopm

Vinod Koul vinod.koul at intel.com
Sun Oct 30 22:37:55 CET 2016


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
-- 
~Vinod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161031/0e1b977a/attachment-0001.sig>


More information about the Alsa-devel mailing list