printk(KERN_ERR "omap_dma: You need to stop the DMA channels before unlinking\n");
printk(KERN_ERR "omap_dma: You need to stop the DMA channels " "before unlinking\n");
void omap_dma_unlink_lch (int lch_head, int lch_queue){	if (omap_dma_in_1510_mode()) {		printk(KERN_ERR "DMA linking is not supported in 1510 mode\n");		BUG();		return;	}	if (dma_chan[lch_head].next_lch != lch_queue ||	    dma_chan[lch_head].next_lch == -1) {		printk(KERN_ERR "omap_dma: trying to unlink non linked channels\n");		dump_stack();	}	if ((dma_chan[lch_head].flags & OMAP_DMA_ACTIVE) ||	    (dma_chan[lch_head].flags & OMAP_DMA_ACTIVE)) {		printk(KERN_ERR "omap_dma: You need to stop the DMA channels before unlinking\n");		dump_stack();	}	dma_chan[lch_head].next_lch = -1;}