spi: dw-mid: follow new DMAengine workflow
authorAndy Shevchenko <[email protected]>
Thu, 2 Oct 2014 13:31:09 +0000 (16:31 +0300)
committerMark Brown <[email protected]>
Thu, 2 Oct 2014 16:06:26 +0000 (17:06 +0100)
commitf7477c2be8689ee8355db345f107744c9bd7f112
treede5e0e2142413e2b399159134aea7f4a06eb52f1
parent2a285299446cccbaf9ba47403e8f2ce578cd1ad1
spi: dw-mid: follow new DMAengine workflow

Though intel-mid-dma does not follow a new DMA workflow (*) let's prepare SPI
DW driver for that.

(*) The client is obliged to call dma_async_issue_pending() which starts the
actual transfers. Old DMA drivers do not follow this, since requirement was
introduced in the discussion of [1].

[1] http://www.spinics.net/lists/arm-kernel/msg125987.html

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
drivers/spi/spi-dw-mid.c