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
Signed-off-by: Ludovic Desroches <email@example.com>
Acked-by: Nicolas Ferre <firstname.lastname@example.org>
Signed-off-by: Chris Ball <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>