|
@@ -2304,6 +2304,11 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
|
|
|
* above in sdhci_cmd_irq().
|
|
* above in sdhci_cmd_irq().
|
|
|
*/
|
|
*/
|
|
|
if (host->cmd && (host->cmd->flags & MMC_RSP_BUSY)) {
|
|
if (host->cmd && (host->cmd->flags & MMC_RSP_BUSY)) {
|
|
|
|
|
+ if (intmask & SDHCI_INT_DATA_TIMEOUT) {
|
|
|
|
|
+ host->cmd->error = -ETIMEDOUT;
|
|
|
|
|
+ tasklet_schedule(&host->finish_tasklet);
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
if (intmask & SDHCI_INT_DATA_END) {
|
|
if (intmask & SDHCI_INT_DATA_END) {
|
|
|
sdhci_finish_command(host);
|
|
sdhci_finish_command(host);
|
|
|
return;
|
|
return;
|