[MMC] Fix protocol errors

A review against MMC/SD specifications found some errors in the current
implementation.

Signed-off-by: Pierre Ossman <[email protected]>
Signed-off-by: Russell King <[email protected]>
This commit is contained in:
Pierre Ossman 2005-11-28 21:00:29 +00:00 • committed by Russell King
commit 24117defab
2 changed files with 3 additions and 3 deletions

View file

@ -816,7 +816,7 @@ static void mmc_discover_cards(struct mmc_host *host)
cmd.opcode = SD_SEND_RELATIVE_ADDR;
cmd.arg = 0;
cmd.flags = MMC_RSP_R1;
cmd.flags = MMC_RSP_R6;
err = mmc_wait_for_cmd(host, &cmd, CMD_RETRIES);
if (err != MMC_ERR_NONE)