]> git.openfabrics.org - ~emulex/infiniband.git/commit
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)
commitb729889686afb7d4366e07fe9c2f7a2737166462
tree8063ce64045ee4f8834e3e52155d81ef843711db
parent9d32af66aa3a0e28d95fc607e208795ef6cc993a
spi/pl022: map the buffers on the DMA engine

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>
drivers/spi/amba-pl022.c