]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw-mid: move to use core SPI DMA mappings
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Mar 2015 14:48:49 +0000 (16:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2015 18:11:13 +0000 (18:11 +0000)
commit817686143a2677b90dc65fb94c01da6aba176524
tree9efc2db1c5c20e114e65638bedf7f0eb880ec595
parent31527c42657227f3c429bd6116905601c7ccffd4
spi: dw-mid: move to use core SPI DMA mappings

SPI core has a comprehensive function set to map and unmap a message when it's
needed. This patch converts driver to use that advantage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
drivers/spi/spi-dw.c
drivers/spi/spi-dw.h