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)
commit21d1c7702e74337717a1133fe8665f6591768581
tree7f90b864e45f53909a21897c46985973e3174463
parent09a2ba2fa0eba3da747db860ac1c8c0956665316
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