summaryrefslogtreecommitdiffstats
path: root/kernel/sched_idletask.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-10-01 06:59:29 +0200
committerSekhar Nori <nsekhar@ti.com>2010-11-18 14:08:34 +0100
commite91c659bbcf2f47519260182a75f64ede34df3ca (patch)
treef72c8d87f1b28b2119b1a3f17b85e38e5e4cc13f /kernel/sched_idletask.c
parentspi: davinci: do not use temporary buffer if no transmit data provided (diff)
downloadlinux-e91c659bbcf2f47519260182a75f64ede34df3ca.tar.xz
linux-e91c659bbcf2f47519260182a75f64ede34df3ca.zip
spi: davinci: always start receive DMA
In keeping with the full duplex nature of the SPI bus. Always start receive DMA along with transmit DMA. If there is no receive buffer provided with the transfer, use a temporary buffer to receive the data to be thrown away. [michael.williamson@criticallink.com: receive DMA size should be same as transfer length to avoid hang-up when transfer length is smaller than temporary rx buffer size (rx buffer not provided)] 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 'kernel/sched_idletask.c')
0 files changed, 0 insertions, 0 deletions