spi: mediatek: fix spi incorrect endian usage
authorLeilk Liu <leilk.liu@mediatek.com>
Thu, 20 Aug 2015 09:19:06 +0000 (17:19 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 20 Aug 2015 18:09:47 +0000 (11:09 -0700)
commit44f636da4e71e0c73d6e29d0319a8954ce3f247a
tree0218e366c0d4109e5ab92b4a94be75ea9bc2d5b7
parentc5e5cd28d7c5a18d6da6575957dd0c5243ac3e7b
spi: mediatek: fix spi incorrect endian usage

TX_ENDIAN/RX_ENDIAN bits define whether to reverse the endian
order of the data DMA from/to memory. The endian order should
keep the same with cpu endian.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c
include/linux/platform_data/spi-mt65xx.h