mmc: sh_mmcif: fix MMC_GEN_CMD setting
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Wed, 7 Mar 2012 08:37:10 +0000 (17:37 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:06 +0000 (12:20 -0400)
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>
drivers/mmc/host/sh_mmcif.c

index 75a485448796e67d553cae26d3e3eda9fa329b98..60f205708f54660b36cacf6e1f120fad4fe3d8b8 100644 (file)
@@ -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: