mmc: core: Reset driver type to default
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Feb 2015 12:12:51 +0000 (14:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:10 +0000 (09:07 +0200)
commit75e8a2288c4fabd6c2f752e8fd3bf7f60be7d3a4
tree9549d374643ee5f31c14a473ea3e4f5a070e99e5
parent89d49a706ca417c55c046d2580403be578cadaab
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>
drivers/mmc/core/core.c