spi/davinci: Use correct length parameter to dma_map_single calls
authorMichael Williamson <michael.williamson@criticallink.com>
Sun, 13 Mar 2011 14:34:21 +0000 (10:34 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 14 Mar 2011 19:17:00 +0000 (13:17 -0600)
The davinci spi driver provides an option to use DMA transfers for
data.  In the dma_map_single() call, the driver is passing the
number of words to be transfered for the mapping size.  It should
be the number of bytes.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found