summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/spi-mt65xx.h
diff options
context:
space:
mode:
authorLeilk Liu <leilk.liu@mediatek.com>2015-08-20 17:19:06 +0800
committerMark Brown <broonie@kernel.org>2015-08-20 11:09:47 -0700
commit44f636da4e71e0c73d6e29d0319a8954ce3f247a (patch)
tree0218e366c0d4109e5ab92b4a94be75ea9bc2d5b7 /include/linux/platform_data/spi-mt65xx.h
parentc5e5cd28d7c5a18d6da6575957dd0c5243ac3e7b (diff)
downloadlinux-44f636da4e71e0c73d6e29d0319a8954ce3f247a.tar.bz2
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>
Diffstat (limited to 'include/linux/platform_data/spi-mt65xx.h')
-rw-r--r--include/linux/platform_data/spi-mt65xx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/platform_data/spi-mt65xx.h b/include/linux/platform_data/spi-mt65xx.h
index 751225569d27..54b04483976c 100644
--- a/include/linux/platform_data/spi-mt65xx.h
+++ b/include/linux/platform_data/spi-mt65xx.h
@@ -16,7 +16,5 @@
struct mtk_chip_config {
u32 tx_mlsb;
u32 rx_mlsb;
- u32 tx_endian;
- u32 rx_endian;
};
#endif