static void z8530_dma_tx(struct z8530_channel *chan) { if(!chan->dma_tx) { printk(KERN_WARNING "Hey who turned the DMA off?\n"); z8530_tx(chan); return; } /* This shouldnt occur in DMA mode */ printk(KERN_ERR "DMA tx - bogus event!\n"); z8530_tx(chan); }
static void z8530_dma_tx(struct z8530_channel *chan) { if(!chan->dma_tx) { pr_warn("Hey who turned the DMA off?\n"); z8530_tx(chan); return; } /* This shouldn't occur in DMA mode */ pr_err("DMA tx - bogus event!\n"); z8530_tx(chan); }