]> git.karo-electronics.de Git - linux-beck.git/commit
spi: davinci: remove usage of additional completion variables for DMA
authorBrian Niebuhr <bniebuhr@efjohnson.com>
Tue, 5 Oct 2010 10:13:08 +0000 (15:43 +0530)
committerSekhar Nori <nsekhar@ti.com>
Thu, 18 Nov 2010 13:08:35 +0000 (18:38 +0530)
commit6dbd29b27bd2627ba0025a6cff14381e69512cdf
tree4a47f66a53430f1c16ad12d291253cadb3cb8b97
parent9b189fd7584a1d8c68334dd1bc47b363877b314e
spi: davinci: remove usage of additional completion variables for DMA

The DMA code does not use the existing completion variable 'done'
which is being used for interrupt mode transfers. Instead it uses
two different completion variables specific to DMA mode transfers.

Eliminate the usage of new completion variables for DMA mode and
use the existing completion variable.

[nsekhar@ti.com: To make this process easy, eliminate the two
different DMA completion callback functions for tx and rx and
use a single callback function instead]

Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/spi/davinci_spi.c