Commit e5c0ef90 authored by Marc Pignat's avatar Marc Pignat Committed by Pierre Ossman

at91_mci: minor cleanup

MMC_POWER_ON is a noop, no need to set the power pin again.
Signed-off-by: default avatarMarc Pignat <marc.pignat@hevs.ch>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 88ae600d
...@@ -663,9 +663,12 @@ static void at91_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ...@@ -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); gpio_set_value(host->board->vcc_pin, 0);
break; break;
case MMC_POWER_UP: case MMC_POWER_UP:
case MMC_POWER_ON:
gpio_set_value(host->board->vcc_pin, 1); gpio_set_value(host->board->vcc_pin, 1);
break; break;
case MMC_POWER_ON:
break;
default:
WARN_ON(1);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment