aboutsummaryrefslogtreecommitdiff
path: root/drivers/sh/superhyway
diff options
context:
space:
mode:
authorMichael Weiser2016-08-22 18:42:18 +0200
committerUlf Hansson2016-09-26 21:31:13 +0200
commit2dd110b27d6621e881c796d1aea97da1b3143a5d (patch)
treeefefe65bf735b7a9ce28dbcacabfad5a8d5b2f7f /drivers/sh/superhyway
parent63311bece02abad40ae442e6deba2a2e522949fb (diff)
mmc: sunxi-mmc: change idma descriptor to __le32
The sunxi-mmc driver does not take into account the processor may be big endian when writing the DMA descriptors. This causes cards not to be detected when running a big-endian kernel. Change the descriptors for IDMA to use __le32 and ensure they are suitably swapped before writing. Tested successfully on the Cubieboard2. Signed-off-by: Michael Weiser <michael.weiser@gmx.de> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Chen-Yu Tsai <wens@csie.org> Cc: linux-mmc@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/sh/superhyway')
0 files changed, 0 insertions, 0 deletions