]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: block: switch card to User Data Area when removing the block driver
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Jun 2011 10:40:26 +0000 (13:40 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:52:49 +0000 (18:52 -0400)
commit283252b2f9b3614dcdd080861436cb0689206d47
treebc572f9622a9a88f832b3b56923d439c9acbc4bc
parent06c66829689b073ac89a3c8fd588d01a8a3c6184
mmc: block: switch card to User Data Area when removing the block driver

The MMC block driver and other drivers (e.g. mmc-test) will expect
the card to be switched to the User Data Area eMMC partition when
they start.  Hence the MMC block driver should ensure it is that
way when it is removed.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c