OSDN Git Service

mmc: core: Reset driver type to default
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Feb 2015 12:12:51 +0000 (14:12 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 28 Apr 2015 17:10:44 +0000 (01:10 +0800)
commit0d6b6c65263565f5a8c65f11965152fcbe22fbec
tree10977c501305c5f94f1aeabef6276167377aee4f
parent59314c1604a6b092d913cdda58a299367d925daa
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>
drivers/mmc/core/core.c