/* Clear interrupts of a channel. Interrupts that are not specified by the interrupt mask are not affected. */
void XAxiVdma_ChannelIntrClear(XAxiVdma_Channel *Channel, u32 IntrType)
/* Clear interrupts of a channel. Interrupts that are not specified by the interrupt mask are not affected. */
void XAxiVdma_ChannelIntrClear(XAxiVdma_Channel *Channel, u32 IntrType)
{
	if ((IntrType & XAXIVDMA_IXR_ALL_MASK) == 0) {
		PRINTF(
		    "Clear intr with null intr mask value %x\r\n",
		    (unsigned int)IntrType);
		return;
	}
	XAxiVdma_WriteReg(Channel->ChanBase, XAXIVDMA_SR_OFFSET,
	    IntrType & XAXIVDMA_IXR_ALL_MASK);
	return;
}