| From 34adc0ba61f82e5f33cb9d17893051afaac12a7a Mon Sep 17 00:00:00 2001 |
| From: "Shimoda, Yoshihiro" <yoshihiro.shimoda.uh@renesas.com> |
| Date: Wed, 7 Mar 2012 17:37:10 +0900 |
| Subject: 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> |
| (cherry picked from commit 183f796b5f701f8ab530ab232e4c27aef527bd76) |
| |
| Signed-off-by: Simon Horman <horms@verge.net.au> |
| --- |
| drivers/mmc/host/sh_mmcif.c | 2 -- |
| 1 file changed, 2 deletions(-) |
| |
| diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c |
| index f5d8b53..f91ae31 100644 |
| --- a/drivers/mmc/host/sh_mmcif.c |
| +++ b/drivers/mmc/host/sh_mmcif.c |
| @@ -745,7 +745,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; |
| } |
| @@ -828,7 +827,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: |
| -- |
| 1.7.10.2.565.gbd578b5 |
| |