mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
mmc: atmel-mci: remove data error interrupt after xfer
commit abc2c9fdf6 upstream.
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.ferre@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eac2ef1897
commit
ee7a0b92fc
@@ -1230,6 +1230,7 @@ static void atmci_tasklet_func(unsigned long priv)
|
||||
} else {
|
||||
data->bytes_xfered = data->blocks * data->blksz;
|
||||
data->error = 0;
|
||||
mci_writel(host, IDR, ATMCI_DATA_ERROR_FLAGS);
|
||||
}
|
||||
|
||||
if (!data->stop) {
|
||||
|
||||
Reference in New Issue
Block a user