]> Pileus Git - ~andy/linux/commit
mv_xor: use {readl, writel}_relaxed instead of __raw_{readl, writel}
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Jul 2013 15:42:13 +0000 (17:42 +0200)
committerDan Williams <djbw@fb.com>
Fri, 23 Aug 2013 05:57:36 +0000 (22:57 -0700)
commit5733c38ae3473115ac7df3fe19bd2502149d8c51
tree6c1c6a5d5f2d7c07ec9df5719d5f9edb59aa36f7
parentad5278cd8d4b12e14a9a00fa7443a7a239ae2219
mv_xor: use {readl, writel}_relaxed instead of __raw_{readl, writel}

In order to support big-endian execution, the mv_xor driver is changed
to use the readl_relaxed() and writel_relaxed() accessors that
properly convert from the CPU endianess to the device endianess (which
in the case of Marvell XOR hardware is always little-endian).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Dan Williams <djbw@fb.com>
drivers/dma/mv_xor.c