ARM: mmci: complete the transaction on error

When we encounter an error, make sure we complete the transaction
otherwise we'll leave the request dangling.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

+1 -1
+1 -1
drivers/mmc/host/mmci.c
··· 319 319 if (status & MCI_DATABLOCKEND) 320 320 dev_err(mmc_dev(host->mmc), "stray MCI_DATABLOCKEND interrupt\n"); 321 321 322 - if (status & MCI_DATAEND) { 322 + if (status & MCI_DATAEND || data->error) { 323 323 mmci_stop_data(host); 324 324 325 325 if (!data->error)