spi/pl022: map the buffers on the DMA engine
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 22 Dec 2010 22:13:07 +0000 (23:13 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Dec 2010 04:06:43 +0000 (21:06 -0700)
The struct device for the DMA engine is the apropriate one to use
when mapping/unmapping buffers. This is because the memory which
is addressable by DMA is determined by the DMA engine rather than
the device.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found