From: Shimoda, Yoshihiro Date: Wed, 7 Mar 2012 08:37:10 +0000 (+0900) Subject: mmc: sh_mmcif: fix MMC_GEN_CMD setting X-Git-Tag: upstream/snapshot3+hdmi~7826^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=183f796b5f701f8ab530ab232e4c27aef527bd76;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 75a4854..60f2057 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: