Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bce4e9d authored by Maxime Bizon's avatar Maxime Bizon Committed by Ralf Baechle
Browse files

[MIPS] R10000: Fix wrong test in dma-default.c

parent 4af2b145
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ static inline unsigned long dma_addr_to_virt(dma_addr_t dma_addr)
static inline int cpu_is_noncoherent_r10000(struct device *dev)
{
	return !plat_device_is_coherent(dev) &&
	       (current_cpu_data.cputype == CPU_R10000 &&
	       (current_cpu_data.cputype == CPU_R10000 ||
	       current_cpu_data.cputype == CPU_R12000);
}