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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<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;
> +
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux