From: Shimoda, Yoshihiro Date: Wed, 7 Mar 2012 08:37:10 +0000 (+0900) Subject: mmc: sh_mmcif: fix MMC_GEN_CMD setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=183f796b5f701f8ab530ab232e4c27aef527bd76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 75a485448796..60f205708f54 100644 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c @@ -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: