powerpc/powernv: Properly fix LPC debugfs endianness
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 30 Oct 2014 05:19:13 +0000 (16:19 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Oct 2014 06:09:04 +0000 (17:09 +1100)
commit325e4114043469e5f9923d902b4d30bcc2be8163
treef70b8aab18045f1e0edecce809ba02cbd5475e6b
parent808be31426af57af22268ef0fcb42617beb3d15b
powerpc/powernv: Properly fix LPC debugfs endianness

Endian is hard, especially when I designed a stupid FW interface, and
I should know better... oh well, this is attempt #2 at fixing this
properly. This time it seems to work with all access sizes and I
can run my flashing tool (which exercises all sort of access sizes
and types to access the SPI controller in the BMC) just fine.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-lpc.c