aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.h
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-19 07:12:42 -0400
committerSekhar Nori <nsekhar@ti.com>2010-11-18 08:08:28 -0500
commitb7ab24a0da96c8fc6d551ea87e82692299df6ac6 (patch)
tree4bd08aeeb692fa29873f21803eb4c480dba5c730 /drivers/net/fec.h
parent6321be60edac6037ea76e9beef375c6ae2961765 (diff)
spi: davinci: simplify calculation of edma acount value
The EDMA acount (called data_type in davinci_spi_bufs_dma()) is simply the bytes_per_word obtained in the transfer setup function. The current code calculates the acount value from bytes_per_word in a convoluted manner. Simplify the code. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/net/fec.h')
0 files changed, 0 insertions, 0 deletions