]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5884114b5d04b2d0a6dc53afc5bb81c2550c865d
tree0218e366c0d4109e5ab92b4a94be75ea9bc2d5b7
parentb359449cbab46a4b7f3d3568e45ef76ffd640b18
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