diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-04-28 09:57:29 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-26 14:46:52 (GMT) |
commit | e21422de817ab0b67ed1902fe1383bcdeece855e (patch) | |
tree | 4d6ade38fa6638a82c49f0321f0401176ff7f5b1 /lib/devres.c | |
parent | ba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff) | |
download | linux-e21422de817ab0b67ed1902fe1383bcdeece855e.tar.xz |
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: 8286ae03308c ("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>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions