commit | 7628774851751e55362ec7d9d57c9334e656a655 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jun 10 17:03:40 2013 +0200 |
committer | Chris Ball <cjb@laptop.org> | Thu Jun 27 12:39:18 2013 -0400 |
tree | 54a8d24423250ceec0fd3468aeef20465941085a | |
parent | 986892ca78eeddd9d6b629050fea432979ddd321 [diff] |
mmc: core: Handle card shutdown from mmc_bus Considering shutdown of the card, the responsibility to initate this sequence shall be driven from the mmc_bus. This patch enables the mmc_bus to handle this sequence properly. A new .shutdown callback is added in the mmc_driver struct which is used to shutdown the blk device. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>