From: Ludovic Desroches Date: Wed, 20 Nov 2013 15:01:11 +0000 (+0100) Subject: mmc: atmel-mci: fix timeout errors in SDIO mode when using DMA X-Git-Tag: v3.14-rc1~88^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b512eda74d59b17eac04c4da1b38d82059e6c9;p=pandora-kernel.git mmc: atmel-mci: fix timeout errors in SDIO mode when using DMA 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. Cc: stable # 3.2+ Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Chris Ball --- Reading git-diff-tree failed