commit | b7ab24a0da96c8fc6d551ea87e82692299df6ac6 | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr@efjohnson.com> | Thu Aug 19 16:42:42 2010 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Thu Nov 18 18:38:28 2010 +0530 |
tree | 4bd08aeeb692fa29873f21803eb4c480dba5c730 | |
parent | 6321be60edac6037ea76e9beef375c6ae2961765 [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>