diff options
author | Marc Pignat <marc.pignat@hevs.ch> | 2008-05-09 09:07:07 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-05-17 11:19:38 (GMT) |
commit | e5c0ef90e6cfd40c819bd70748d675067ff862e7 (patch) | |
tree | 7390afd32b16205971a9fb05131d0ef6d66b743a /drivers | |
parent | 88ae600d58a8d3160144af480133a988404b8d59 (diff) | |
download | linux-fsl-qoriq-e5c0ef90e6cfd40c819bd70748d675067ff862e7.tar.xz |
at91_mci: minor cleanup
MMC_POWER_ON is a noop, no need to set the power pin again.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/at91_mci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c index a28fc2f..8979ad3 100644 --- a/drivers/mmc/host/at91_mci.c +++ b/drivers/mmc/host/at91_mci.c @@ -663,9 +663,12 @@ static void at91_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) gpio_set_value(host->board->vcc_pin, 0); break; case MMC_POWER_UP: - case MMC_POWER_ON: gpio_set_value(host->board->vcc_pin, 1); break; + case MMC_POWER_ON: + break; + default: + WARN_ON(1); } } } |