|
@@ -612,7 +612,7 @@ static inline int dw_mci_prepare_desc64(struct dw_mci *host,
|
|
return 0;
|
|
return 0;
|
|
err_own_bit:
|
|
err_own_bit:
|
|
/* restore the descriptor chain as it's polluted */
|
|
/* restore the descriptor chain as it's polluted */
|
|
- dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
|
|
|
|
|
|
+ dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
|
|
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
|
|
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
|
|
dw_mci_idmac_init(host);
|
|
dw_mci_idmac_init(host);
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
@@ -688,7 +688,7 @@ static inline int dw_mci_prepare_desc32(struct dw_mci *host,
|
|
return 0;
|
|
return 0;
|
|
err_own_bit:
|
|
err_own_bit:
|
|
/* restore the descriptor chain as it's polluted */
|
|
/* restore the descriptor chain as it's polluted */
|
|
- dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
|
|
|
|
|
|
+ dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
|
|
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
|
|
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
|
|
dw_mci_idmac_init(host);
|
|
dw_mci_idmac_init(host);
|
|
return -EINVAL;
|
|
return -EINVAL;
|