On Thu, Jul 21, 2016 at 08:23:27PM +0200, Michael Weiser wrote: > 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 > Cc: Ulf Hansson > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: linux-mmc@vger.kernel.org Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com