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>

authored by

Olof Johansson and committed by
Linus Torvalds
2da53b01 0c6377f8

+1 -1
+1 -1
arch/powerpc/platforms/pasemi/iommu.c
··· 184 184 if (dev->vendor == 0x1959 && dev->device == 0xa007 && 185 185 !firmware_has_feature(FW_FEATURE_LPAR)) { 186 186 dev->dev.archdata.dma_ops = &dma_direct_ops; 187 - dev->dev.archdata.dma_data = 0; 187 + return; 188 188 } 189 189 #endif 190 190