aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChristian Riesch <[email protected]>2012-02-22 21:58:00 +0000
committerDavid S. Miller <[email protected]>2012-02-24 03:23:37 -0500
commitb4ad0428139491355ea8742294c77942c312c5bb (patch)
tree83623ebd5d1b12e6da51962c87b1531e5b96ed4c /net/lapb/lapb_subr.c
parentd708f6039b21ca8f0508ba1da1aaf3d00a36446f (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions