spi: omap2-mcspi: fix dma transfer for vmalloced buffer
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 21 Mar 2016 16:00:21 +0000 (01:00 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 23 Mar 2016 13:37:53 +0000 (13:37 +0000)
commit3525e0aac91c4de5d20b1f22a6c6e2b39db3cc96
tree99be6544bf468b403e98a20060efd7b7a563ba0b
parentc508709bcffb644afbf5e5016fc7c90bf80c30ff
spi: omap2-mcspi: fix dma transfer for vmalloced buffer

Currently omap2-mcspi cannot handle dma transfer for vmalloced buffer.
I hit this problem when using mtdblock on spi-nor.

This lets the SPI core handle the page mapping for dma transfer buffer.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c