omap_writew(0, OMAP_DMA_CICR(lch));   w = omap_readw(OMAP_DMA_CLNK_CTRL(lch)); w |= (1 << 14); w = omap_writew(w, OMAP_DMA_CLNK_CTRL(lch));
if (cpu_is_omap24xx()) { omap_disable_channel_irq(lch);  OMAP_DMA_CLNK_CTRL_REG(lch) &= ~(1 << 15); }
static inline void disable_lnk(int lch){	u16 w;	/* Disable interrupts */	omap_writew(0, OMAP_DMA_CICR(lch));	/* Set the STOP_LNK bit */	w = omap_readw(OMAP_DMA_CLNK_CTRL(lch));	w |= (1 << 14);	w = omap_writew(w, OMAP_DMA_CLNK_CTRL(lch));	dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE;}