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)
commitd09519e41a67eab22cc4566670431f9252b6786a
tree2556a03b83d28ee9ca153f99e962efe450d8ff4e
parentfc1599f7b0f6aff566237342ade28f2981186cc9
spi/davinci: Use correct length parameter to dma_map_single calls

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>
drivers/spi/davinci_spi.c
This page took 0.02468 seconds and 5 git commands to generate.