summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-10-05 18:18:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 18:01:45 +0200
commitcfa93fb9c2eae805f2c16d72bad04ca49b6e16d2 (patch)
tree49fd4fe0ee0eac879ddd62cde0a020f42ef03cd3 /arch/mips/include
parentf23020230e682a43cc4706cabb041bba469df2d6 (diff)
downloadlinux-stable-cfa93fb9c2eae805f2c16d72bad04ca49b6e16d2.tar.gz
linux-stable-cfa93fb9c2eae805f2c16d72bad04ca49b6e16d2.tar.bz2
linux-stable-cfa93fb9c2eae805f2c16d72bad04ca49b6e16d2.zip
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: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14348/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
0 files changed, 0 insertions, 0 deletions