spi: dw-mid: split rx and tx callbacks when DMA
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Oct 2014 16:25:02 +0000 (18:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 22:40:38 +0000 (22:40 +0000)
Currently driver wouldn't work properly if user asked for simplex transfer. The
patch separates DMA rx and tx callbacks and finishes transfer correctly in any
case.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found