/* Note: The routine must only be called when there is space available in the queue. Otherwise the enqueue will fail and the audio ring buffer will get out of sync  */
static void psc_dma_bcom_enqueue_next_buffer(struct psc_dma_stream *s)
/* Note: The routine must only be called when there is space available in the queue. Otherwise the enqueue will fail and the audio ring buffer will get out of sync  */
static void psc_dma_bcom_enqueue_next_buffer(struct psc_dma_stream *s)
{
	struct bcom_bd *bd;
	bd = bcom_prepare_next_buffer(s->bcom_task);
	bd->status = s->period_bytes;
	bd->data[0] = s->runtime->dma_addr + (s->period_next * s->period_bytes);
	bcom_submit_next_buffer(s->bcom_task, NULL);
	s->period_next = (s->period_next + 1) % s->runtime->periods;
}