diff options
Diffstat (limited to 'arch/arm/common/it8152.c')
-rw-r--r-- | arch/arm/common/it8152.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c index 80b49e1e0992..14ad62e16dd1 100644 --- a/arch/arm/common/it8152.c +++ b/arch/arm/common/it8152.c | |||
@@ -247,8 +247,7 @@ static int it8152_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t s | |||
247 | { | 247 | { |
248 | dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", | 248 | dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", |
249 | __func__, dma_addr, size); | 249 | __func__, dma_addr, size); |
250 | return dev->bus == &pci_bus_type && | 250 | return (dma_addr + size - PHYS_OFFSET) >= SZ_64M; |
251 | (dma_addr + size - PHYS_OFFSET) >= SZ_64M; | ||
252 | } | 251 | } |
253 | 252 | ||
254 | /* | 253 | /* |