spi: xtensa-xtfpga: fix register endianness
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 22 Sep 2015 11:32:03 +0000 (14:32 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 22 Sep 2015 16:30:10 +0000 (09:30 -0700)
commitb0b4855099e301c8603ea37da9a0103a96c2e0b1
treec92881da5a05a64540b0b5219476de871f9570ab
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: xtensa-xtfpga: fix register endianness

XTFPGA SPI controller has native endian registers.
Fix register acessors so that they work in big-endian configurations.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-xtensa-xtfpga.c