Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 183f796b authored by Shimoda, Yoshihiro's avatar Shimoda, Yoshihiro Committed by Chris Ball
Browse files

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: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 52d0974e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -746,7 +746,6 @@ static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host,
	case MMC_SET_WRITE_PROT:
	case MMC_CLR_WRITE_PROT:
	case MMC_ERASE:
	case MMC_GEN_CMD:
		tmp |= CMD_SET_RBSY;
		break;
	}
@@ -829,7 +828,6 @@ static void sh_mmcif_start_cmd(struct sh_mmcif_host *host,
	case MMC_SET_WRITE_PROT:
	case MMC_CLR_WRITE_PROT:
	case MMC_ERASE:
	case MMC_GEN_CMD:
		mask = MASK_START_CMD | MASK_MRBSYE;
		break;
	default: