]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix CDMM to use native endian MMIO reads
authorJames Hogan <james.hogan@imgtec.com>
Tue, 28 Apr 2015 09:57:29 +0000 (10:57 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 May 2015 14:46:52 +0000 (16:46 +0200)
commit10f1428d22c6c1c0a37e30bd9155a73ae3cc4a46
tree4d6ade38fa6638a82c49f0321f0401176ff7f5b1
parent7ea797fb7fe5c494f95e30c47c07c23308fb498e
MIPS: Fix CDMM to use native endian MMIO reads

The MIPS Common Device Memory Map (CDMM) is internal to the core and has
native endianness. There is therefore no need to byte swap the accesses
on big endian targets, so convert the CDMM bus driver to use
__raw_readl() rather than readl().

Fixes: de07e6d01a01 ("MIPS: Add CDMM bus support")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9904/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/bus/mips_cdmm.c