]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: sa1111: only setup DMA for DMA capable devices
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Jan 2012 10:22:49 +0000 (10:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:12 +0000 (11:30 +0000)
commit041300fc0192edac0b87f563ed317d08479b67e5
tree7f90b864e45f53909a21897c46985973e3174463
parent614be0e4bcedcac4c5b1438e6d63ebc58aa92d44
ARM: sa1111: only setup DMA for DMA capable devices

It's pointless registering the PS/2 interfaces with the dmabounce code
when there's no DMA support for these in hardware, so only setup the
DMA masks for two subdevices which support DMA - the OHCI and SAC.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/sa1111.c