aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/usdhi6rol0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/usdhi6rol0.c b/drivers/mmc/host/usdhi6rol0.c
index 63d5d722b01f..4188e84ea450 100644
--- a/drivers/mmc/host/usdhi6rol0.c
+++ b/drivers/mmc/host/usdhi6rol0.c
@@ -1634,6 +1634,7 @@ static void usdhi6_timeout_work(struct work_struct *work)
1634 struct usdhi6_host *host = container_of(d, struct usdhi6_host, timeout_work); 1634 struct usdhi6_host *host = container_of(d, struct usdhi6_host, timeout_work);
1635 struct mmc_request *mrq = host->mrq; 1635 struct mmc_request *mrq = host->mrq;
1636 struct mmc_data *data = mrq ? mrq->data : NULL; 1636 struct mmc_data *data = mrq ? mrq->data : NULL;
1637 struct scatterlist *sg = host->sg ?: data->sg;
1637 1638
1638 dev_warn(mmc_dev(host->mmc), 1639 dev_warn(mmc_dev(host->mmc),
1639 "%s timeout wait %u CMD%d: IRQ 0x%08x:0x%08x, last IRQ 0x%08x\n", 1640 "%s timeout wait %u CMD%d: IRQ 0x%08x:0x%08x, last IRQ 0x%08x\n",
@@ -1669,7 +1670,7 @@ static void usdhi6_timeout_work(struct work_struct *work)
1669 "%c: page #%u @ +0x%zx %ux%u in SG%u. Current SG %u bytes @ %u\n", 1670 "%c: page #%u @ +0x%zx %ux%u in SG%u. Current SG %u bytes @ %u\n",
1670 data->flags & MMC_DATA_READ ? 'R' : 'W', host->page_idx, 1671 data->flags & MMC_DATA_READ ? 'R' : 'W', host->page_idx,
1671 host->offset, data->blocks, data->blksz, data->sg_len, 1672 host->offset, data->blocks, data->blksz, data->sg_len,
1672 sg_dma_len(host->sg), host->sg->offset); 1673 sg_dma_len(sg), sg->offset);
1673 usdhi6_sg_unmap(host, true); 1674 usdhi6_sg_unmap(host, true);
1674 /* 1675 /*
1675 * If USDHI6_WAIT_FOR_DATA_END times out, we have already unmapped 1676 * If USDHI6_WAIT_FOR_DATA_END times out, we have already unmapped