mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 10:34:19 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ static int imx_usdhc_send_cmd(struct mmc_cmd *cmd)
|
|||
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;
|
||||
else if (cmd->resp_type & MMC_RSP_136)
|
||||
xfertype |= XFERTYPE_RSPTYP_136;
|
||||
|
|
Loading…
Add table
Reference in a new issue