aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sh_mmcif.c
diff options
context:
space:
mode:
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>2012-03-07 03:37:10 -0500
committerChris Ball <cjb@laptop.org>2012-03-27 12:20:06 -0400
commit183f796b5f701f8ab530ab232e4c27aef527bd76 (patch)
treec1ca0d47ce5c20a8cf27bc2c1d5755c942a684bb /drivers/mmc/host/sh_mmcif.c
parent52d0974e36761fd1daf1eb02cfb2444a7b200087 (diff)
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>
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
-rw-r--r--drivers/mmc/host/sh_mmcif.c2
1 files changed, 0 insertions, 2 deletions
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,
746 case MMC_SET_WRITE_PROT: 746 case MMC_SET_WRITE_PROT:
747 case MMC_CLR_WRITE_PROT: 747 case MMC_CLR_WRITE_PROT:
748 case MMC_ERASE: 748 case MMC_ERASE:
749 case MMC_GEN_CMD:
750 tmp |= CMD_SET_RBSY; 749 tmp |= CMD_SET_RBSY;
751 break; 750 break;
752 } 751 }
@@ -829,7 +828,6 @@ static void sh_mmcif_start_cmd(struct sh_mmcif_host *host,
829 case MMC_SET_WRITE_PROT: 828 case MMC_SET_WRITE_PROT:
830 case MMC_CLR_WRITE_PROT: 829 case MMC_CLR_WRITE_PROT:
831 case MMC_ERASE: 830 case MMC_ERASE:
832 case MMC_GEN_CMD:
833 mask = MASK_START_CMD | MASK_MRBSYE; 831 mask = MASK_START_CMD | MASK_MRBSYE;
834 break; 832 break;
835 default: 833 default: