|
@@ -1824,8 +1824,7 @@ static void dw_mci_tasklet_func(unsigned long priv)
|
|
|
* If all data-related interrupts don't come
|
|
|
* within the given time in reading data state.
|
|
|
*/
|
|
|
- if ((host->quirks & DW_MCI_QUIRK_BROKEN_DTO) &&
|
|
|
- (host->dir_status == DW_MCI_RECV_STATUS))
|
|
|
+ if (host->dir_status == DW_MCI_RECV_STATUS)
|
|
|
dw_mci_set_drto(host);
|
|
|
break;
|
|
|
}
|
|
@@ -1867,8 +1866,7 @@ static void dw_mci_tasklet_func(unsigned long priv)
|
|
|
* interrupt doesn't come within the given time.
|
|
|
* in reading data state.
|
|
|
*/
|
|
|
- if ((host->quirks & DW_MCI_QUIRK_BROKEN_DTO) &&
|
|
|
- (host->dir_status == DW_MCI_RECV_STATUS))
|
|
|
+ if (host->dir_status == DW_MCI_RECV_STATUS)
|
|
|
dw_mci_set_drto(host);
|
|
|
break;
|
|
|
}
|
|
@@ -2434,8 +2432,7 @@ static irqreturn_t dw_mci_interrupt(int irq, void *dev_id)
|
|
|
}
|
|
|
|
|
|
if (pending & SDMMC_INT_DATA_OVER) {
|
|
|
- if (host->quirks & DW_MCI_QUIRK_BROKEN_DTO)
|
|
|
- del_timer(&host->dto_timer);
|
|
|
+ del_timer(&host->dto_timer);
|
|
|
|
|
|
mci_writel(host, RINTSTS, SDMMC_INT_DATA_OVER);
|
|
|
if (!host->data_status)
|
|
@@ -3026,11 +3023,8 @@ int dw_mci_probe(struct dw_mci *host)
|
|
|
setup_timer(&host->cmd11_timer,
|
|
|
dw_mci_cmd11_timer, (unsigned long)host);
|
|
|
|
|
|
- host->quirks = host->pdata->quirks;
|
|
|
-
|
|
|
- if (host->quirks & DW_MCI_QUIRK_BROKEN_DTO)
|
|
|
- setup_timer(&host->dto_timer,
|
|
|
- dw_mci_dto_timer, (unsigned long)host);
|
|
|
+ setup_timer(&host->dto_timer,
|
|
|
+ dw_mci_dto_timer, (unsigned long)host);
|
|
|
|
|
|
spin_lock_init(&host->lock);
|
|
|
spin_lock_init(&host->irq_lock);
|