revert "mmc: core: Set correct bus mode before card init"

This reverts the if/else part of
4466903481. We don't know why it
was done though and this should probably be dropped after testing.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
Stephen Boyd 2013-02-11 17:29:56 -08:00
parent e4a5f9deff
commit d2e4a5caa4

View file

@ -1521,11 +1521,12 @@ void mmc_power_up(struct mmc_host *host)
bit = fls(host->ocr_avail) - 1;
host->ios.vdd = bit;
if (mmc_host_is_spi(host))
if (mmc_host_is_spi(host))
host->ios.chip_select = MMC_CS_HIGH;
else
else {
host->ios.chip_select = MMC_CS_DONTCARE;
host->ios.bus_mode = MMC_BUSMODE_PUSHPULL;
host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN;
}
host->ios.power_mode = MMC_POWER_UP;
host->ios.bus_width = MMC_BUS_WIDTH_1;
host->ios.timing = MMC_TIMING_LEGACY;