Skip to content
Commit cfa93fb9 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: dma-default: Don't check hw_coherentio if device is non-coherent



There are no cases where plat_device_is_coherent() will return zero
whilst hw_coherentio is non-zero, and acting any differently in such a
case doesn't make much sense - if a device is non-coherent with the CPU
caches then access to memory "coherent" with DMA must be uncached. Clean
up the nonsensical case.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14348/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f2302023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment