14 Jan
2019
14 Jan
'19
4:10 p.m.
<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;