]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dc0b0650f54a6c8eda8085a3d3a39f58d595d50
treec92881da5a05a64540b0b5219476de871f9570ab
parent935a478e4144e0a4f690471a4a1d8ad5718a721b
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