Re: [PATCH v3 04/14] ASoC: SOF: Add support for IPC IO between DSP and Host

Daniel Baluta
2019-01-14T15:10:26Z

<snip>

> +/* send next IPC message in list */
> +static void ipc_tx_next_msg(struct work_struct *work)
> +{
> + struct snd_sof_ipc *ipc =
> + container_of(work, struct snd_sof_ipc, tx_kwork);
> + struct snd_sof_dev *sdev = ipc->sdev;
> + struct snd_sof_ipc_msg *msg;
> + unsigned long flags;
> +
> + spin_lock_irqsave(&sdev->ipc_lock, flags);
> +
> + /* send message if HW read and message in TX list */

s/HW read/HW ready/ I think.

> + if (list_empty(&ipc->tx_list) || !snd_sof_dsp_is_ready(sdev))
> + goto out;
> +