ARM: dmabounce: simplify dma_set_mask()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Jul 2011 13:02:21 +0000 (14:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Jul 2011 13:02:21 +0000 (14:02 +0100)
commit3973c337759cd201773a0ecc7b6f39f1ea2a6287
tree5b2be9f17a2224f4d3c4d61c10657d4fd3e8d7f1
parent5c8598fca1a359520623ed5409d23bb9e23d7da3
ARM: dmabounce: simplify dma_set_mask()

Simplify the dmabounce specific code in dma_set_mask().  We can just
omit setting the dma mask if dmabounce is enabled (we will have already
set dma mask via callbacks when the device is created in that case.)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/dma-mapping.h