From: Nicolas Ferre <nicolas.fe...@atmel.com>

Disable data error interrupts while we are actually recording that there
is not such errors.  This will prevent, in some cases, the warning message
printed at new request queuing (in atmci_start_request()).

Signed-off-by: Nicolas Ferre <nicolas.fe...@atmel.com>
Cc: Haavard Skinnemoen <hskinnem...@atmel.com>
Cc: <linux-mmc@vger.kernel.org>
Cc: <sta...@kernel.org>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
---

 drivers/mmc/host/atmel-mci.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN 
drivers/mmc/host/atmel-mci.c~mmc-atmel-mci-remove-data-error-interrupt-after-xfer
 drivers/mmc/host/atmel-mci.c
--- 
a/drivers/mmc/host/atmel-mci.c~mmc-atmel-mci-remove-data-error-interrupt-after-xfer
+++ a/drivers/mmc/host/atmel-mci.c
@@ -1294,6 +1294,7 @@ static void atmci_tasklet_func(unsigned 
                        } else {
                                data->bytes_xfered = data->blocks * data->blksz;
                                data->error = 0;
+                               mci_writel(host, IDR, ATMCI_DATA_ERROR_FLAGS);
                        }
 
                        if (!data->stop) {
_
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to