Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: core: Reset driver type to default

IO state variable drv_type could be set during card
initialization. Consequently, it must be reset to the
default value when setting the initial state.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Adrian Hunter and committed by
Ulf Hansson
75e8a228 89d49a70

+1
+1
drivers/mmc/core/core.c
··· 1184 1184 host->ios.bus_mode = MMC_BUSMODE_PUSHPULL; 1185 1185 host->ios.bus_width = MMC_BUS_WIDTH_1; 1186 1186 host->ios.timing = MMC_TIMING_LEGACY; 1187 + host->ios.drv_type = 0; 1187 1188 1188 1189 mmc_set_ios(host); 1189 1190 }