From: Christian Riesch Date: Wed, 22 Feb 2012 21:58:00 +0000 (+0000) Subject: davinci_cpdma: Fix channel number written to teardown registers X-Git-Tag: v3.4-rc1~177^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ad0428139491355ea8742294c77942c312c5bb;p=pandora-kernel.git davinci_cpdma: Fix channel number written to teardown registers 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed