spi: sh-msiof: Use correct device for DMA mapping with IOMMU
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 11 Jul 2014 15:56:22 +0000 (17:56 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 16 Jul 2014 22:19:34 +0000 (23:19 +0100)
commit5dabcf2f27ded864cf79204c4a3cca1516b66026
treefe48cb11b03d59feaf7ca819a4522c044d80b522
parent279d2378c9c4f05bbe41b55625b4003871026266
spi: sh-msiof: Use correct device for DMA mapping with IOMMU

To function correctly in the presence of an IOMMU, the DMA buffers must be
mapped using the DMA channel's device instead of the MSIOF platform
device's device.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-msiof.c