mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
mmc: sh_mmcif: fix MMC_GEN_CMD setting
The MMC_GEN_CMD (CMD56) doesn't need to check busy signal. So, the patch fixes the setting. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
52d0974e36
commit
183f796b5f
1 changed files with 0 additions and 2 deletions
|
@ -746,7 +746,6 @@ static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host,
|
||||||
case MMC_SET_WRITE_PROT:
|
case MMC_SET_WRITE_PROT:
|
||||||
case MMC_CLR_WRITE_PROT:
|
case MMC_CLR_WRITE_PROT:
|
||||||
case MMC_ERASE:
|
case MMC_ERASE:
|
||||||
case MMC_GEN_CMD:
|
|
||||||
tmp |= CMD_SET_RBSY;
|
tmp |= CMD_SET_RBSY;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -829,7 +828,6 @@ static void sh_mmcif_start_cmd(struct sh_mmcif_host *host,
|
||||||
case MMC_SET_WRITE_PROT:
|
case MMC_SET_WRITE_PROT:
|
||||||
case MMC_CLR_WRITE_PROT:
|
case MMC_CLR_WRITE_PROT:
|
||||||
case MMC_ERASE:
|
case MMC_ERASE:
|
||||||
case MMC_GEN_CMD:
|
|
||||||
mask = MASK_START_CMD | MASK_MRBSYE;
|
mask = MASK_START_CMD | MASK_MRBSYE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue