diff options
| author | Leilk Liu <leilk.liu@mediatek.com> | 2015-08-20 05:19:06 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-08-20 14:09:47 -0400 |
| commit | 44f636da4e71e0c73d6e29d0319a8954ce3f247a (patch) | |
| tree | 0218e366c0d4109e5ab92b4a94be75ea9bc2d5b7 /include/linux/platform_data | |
| parent | c5e5cd28d7c5a18d6da6575957dd0c5243ac3e7b (diff) | |
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')
| -rw-r--r-- | include/linux/platform_data/spi-mt65xx.h | 2 |
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 @@ | |||
| 16 | struct mtk_chip_config { | 16 | struct mtk_chip_config { |
| 17 | u32 tx_mlsb; | 17 | u32 tx_mlsb; |
| 18 | u32 rx_mlsb; | 18 | u32 rx_mlsb; |
| 19 | u32 tx_endian; | ||
| 20 | u32 rx_endian; | ||
| 21 | }; | 19 | }; |
| 22 | #endif | 20 | #endif |
