]> err.no Git - linux-2.6/commit
pasemi: Fix thinko in dma_direct_ops setup
authorOlof Johansson <olof@lixom.net>
Thu, 31 Jan 2008 23:50:02 +0000 (17:50 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Feb 2008 10:03:36 +0000 (21:03 +1100)
commit2da53b0134ad41b91556d2d2a322cc03487a1ab7
treea2dbec136864c02f7b7113fef77f3f09d437a29e
parent0c6377f878eb767846934d6c70377afac9a4db68
pasemi: Fix thinko in dma_direct_ops setup

[POWERPC] pasemi: Fix thinko in dma_direct_ops setup

The first patch will just fall through and still set dma_data to a bad
value, make it return directly instead.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/pasemi/iommu.c