mmc: core: Add shutdown callback for (e)MMC bus_ops
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:44 +0000 (17:03 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 05:08:25 +0000 (13:08 +0800)
commitbed99b5fa693e2a8743e07e91300b97b4f677f1e
tree437ca69e5db58126f1891e4e2ab78a9d48239e4e
parentcb8dcf1a58954d693406081e6fd8c4231b3df4a8
mmc: core: Add shutdown callback for (e)MMC bus_ops

The shutdown sequence of an (e)MMC is very similar to a suspend. We
re-use the suspend function and tell it we are not in suspend context.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c