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>
This commit is contained in:
Leilk Liu
2015-08-20 17:19:06 +08:00
committed by Mark Brown
parent c5e5cd28d7
commit 44f636da4e
2 changed files with 16 additions and 24 deletions

View File

@@ -16,7 +16,5 @@
struct mtk_chip_config {
u32 tx_mlsb;
u32 rx_mlsb;
u32 tx_endian;
u32 rx_endian;
};
#endif