mmc: core: Use MMC_UNSAFE_RESUME as default behavior
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Oct 2013 00:00:18 +0000 (01:00 +0100)
committerChris Ball <chris@printf.net>
Fri, 14 Feb 2014 03:58:15 +0000 (22:58 -0500)
commit2501c9179dff2add6aadd3898cd729e94e777d3a
tree5ec2c6fc9d62b21920b7319fbf14e22cad467f6b
parent710dec95d579bf59c157358cc9cf7b42907d1c0f
mmc: core: Use MMC_UNSAFE_RESUME as default behavior

Invoking system suspend or shutdown without using the Kconfig option
MMC_UNSAFE_RESUME, did trigger an ungraceful power cut of the card.

To improve the situation, change the behavior to always make use of the
available bus_ops callbacks that handles system suspend and shutdown
properly.

By changing the behavior MMC_UNSAFE_RESUME becomes redundant, so lets's
remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/core/Kconfig
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
include/linux/mmc/host.h