projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ae600
)
at91_mci: minor cleanup
author
Marc Pignat
<marc.pignat@hevs.ch>
Fri, 9 May 2008 09:07:07 +0000
(11:07 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sat, 17 May 2008 11:19:38 +0000
(13:19 +0200)
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>
drivers/mmc/host/at91_mci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/at91_mci.c
b/drivers/mmc/host/at91_mci.c
index a28fc2f68ce24dbf525628bdf640f2315b06713e..8979ad330a4d5e6e154b4e8be4794a0b28765eba 100644
(file)
--- 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);
}
}
}