Merge pull request #1622 from bryanodonoghue/master+imx7-mmc_fix
drivers: imx: mxc_usdhc: Do not set MMC_RSP_48 for MMC_RESPONSE_R2
This commit is contained in:
commit
a3f92142e2
|
@ -160,7 +160,7 @@ static int imx_usdhc_send_cmd(struct mmc_cmd *cmd)
|
||||||
mixctl |= MIXCTRL_DMAEN;
|
mixctl |= MIXCTRL_DMAEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd->resp_type & MMC_RSP_48)
|
if (cmd->resp_type & MMC_RSP_48 && cmd->resp_type != MMC_RESPONSE_R2)
|
||||||
xfertype |= XFERTYPE_RSPTYP_48;
|
xfertype |= XFERTYPE_RSPTYP_48;
|
||||||
else if (cmd->resp_type & MMC_RSP_136)
|
else if (cmd->resp_type & MMC_RSP_136)
|
||||||
xfertype |= XFERTYPE_RSPTYP_136;
|
xfertype |= XFERTYPE_RSPTYP_136;
|
||||||
|
|
Loading…
Reference in New Issue