summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_imx.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-09-29 12:31:54 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:33 +0530
commitd3f7141cbf4580b2f18f93940df29cf0c15e7ef5 (patch)
treeb8e168c11588653d0582db1faaa323a35bae4644 /drivers/spi/spi_imx.c
parentc29e3c60e75d1cc1262ac8af379738b6fd851f33 (diff)
downloadtalos-op-linux-d3f7141cbf4580b2f18f93940df29cf0c15e7ef5.tar.gz
talos-op-linux-d3f7141cbf4580b2f18f93940df29cf0c15e7ef5.zip
spi: davinci: do not use temporary buffer if no transmit data provided
Remove usage of temporary buffer when no transmit data is provided. Instead, use the transmit register itself as the source of data. By choosing the transmit register itself as the source of data, this patch helps remove unnecessary accesses to memory when no real data is being transmitted. 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/spi/spi_imx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud