From c98df443b8a9bd7573cf7c556bdf4aa7a192188b Mon Sep 17 00:00:00 2001 From: Ludovic Desroches Date: Wed, 20 Nov 2013 16:01:11 +0100 Subject: [PATCH] mmc: atmel-mci: fix timeout errors in SDIO mode when using DMA commit 66b512eda74d59b17eac04c4da1b38d82059e6c9 upstream. With some SDIO devices, timeout errors can happen when reading data. To solve this issue, the DMA transfer has to be activated before sending the command to the device. This order is incorrect in PDC mode. So we have to take care if we are using DMA or PDC to know when to send the MMC command. Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Chris Ball Signed-off-by: Ben Hutchings --- Reading git-format-patch failed