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)
commitddd6fa7e794e62af3ec3eb4ffdc78489885701f2
treebc572f9622a9a88f832b3b56923d439c9acbc4bc
parentc6e633ad916e2af244dbfd11abd2bc077870bdfd
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