|
@@ -1345,7 +1345,7 @@ static void sdhci_tasklet_finish(unsigned long param)
|
|
* upon error conditions.
|
|
* upon error conditions.
|
|
*/
|
|
*/
|
|
if (!(host->flags & SDHCI_DEVICE_DEAD) &&
|
|
if (!(host->flags & SDHCI_DEVICE_DEAD) &&
|
|
- (mrq->cmd->error ||
|
|
|
|
|
|
+ ((mrq->cmd && mrq->cmd->error) ||
|
|
(mrq->data && (mrq->data->error ||
|
|
(mrq->data && (mrq->data->error ||
|
|
(mrq->data->stop && mrq->data->stop->error))) ||
|
|
(mrq->data->stop && mrq->data->stop->error))) ||
|
|
(host->quirks & SDHCI_QUIRK_RESET_AFTER_REQUEST))) {
|
|
(host->quirks & SDHCI_QUIRK_RESET_AFTER_REQUEST))) {
|