diff options
author | Marc Pignat <marc.pignat@hevs.ch> | 2008-05-09 13:07:07 +0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-05-17 15:19:38 +0400 |
commit | e5c0ef90e6cfd40c819bd70748d675067ff862e7 (patch) | |
tree | 7390afd32b16205971a9fb05131d0ef6d66b743a /drivers/mmc/host | |
parent | 88ae600d58a8d3160144af480133a988404b8d59 (diff) | |
download | linux-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/mmc/host')
-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 a28fc2f68ce2..8979ad330a4d 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); } } } |