|
@@ -820,16 +820,9 @@ static void atmci_pdc_complete(struct atmel_mci *host)
|
|
|
|
|
|
atmci_pdc_cleanup(host);
|
|
|
|
|
|
- /*
|
|
|
- * If the card was removed, data will be NULL. No point trying
|
|
|
- * to send the stop command or waiting for NBUSY in this case.
|
|
|
- */
|
|
|
- if (host->data) {
|
|
|
- dev_dbg(&host->pdev->dev,
|
|
|
- "(%s) set pending xfer complete\n", __func__);
|
|
|
- atmci_set_pending(host, EVENT_XFER_COMPLETE);
|
|
|
- tasklet_schedule(&host->tasklet);
|
|
|
- }
|
|
|
+ dev_dbg(&host->pdev->dev, "(%s) set pending xfer complete\n", __func__);
|
|
|
+ atmci_set_pending(host, EVENT_XFER_COMPLETE);
|
|
|
+ tasklet_schedule(&host->tasklet);
|
|
|
}
|
|
|
|
|
|
static void atmci_dma_cleanup(struct atmel_mci *host)
|