[PATCH] davinci_cpdma: Fix channel number written to teardown registers

David Miller davem at davemloft.net
Fri Feb 24 03:23:49 EST 2012


From: Christian Riesch <christian.riesch at omicron.at>
Date: Thu, 23 Feb 2012 08:58:00 +0100

> chan->chan_num is 0..CPDMA_MAX_CHANNELS-1 for tx channels and
> CPDMA_MAX_CHANNELS..2*CPDMA_MAX_CHANNELS-1 for rx channels. However,
> the rx and tx teardown registers expect zero based channel numbering.
> 
> Since the upper bits of the registers are reserved, the teardown also
> worked before, this patch is cleanup only.
> 
> Signed-off-by: Christian Riesch <christian.riesch at omicron.at>

Applied to net-next.



More information about the linux-arm-kernel mailing list