Tested-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx> Best Regards, Jaehoon Chung On 05/30/2013 09:53 PM, Ulf Hansson wrote: > From: Ulf Hansson <ulf.hansson@xxxxxxxxxx> > > The MMC/SD/SDIO cards are registered on the mmc_bus and should from a power > management perspective be controlled from there. As of today each and every > host driver needs to issue mmc_suspend|resume_host from their respective > .suspend|resume methods, which seems like an unnecessary requirement to > put on them. > > This patch set moves the responsiblity to suspend the cards into the mmc_bus. > In this patch set, the mmc_suspend|resume_host functions are not removed, but > will instead always return successful. As a separate patch build on top of > this patch set, we shall remove the API:s together with updating each and > every host driver. > > Ulf Hansson (4): > mmc: core: Remove unnecessary check for the remove callback > mmc: core: Validate suspend prerequisites for SDIO at SUSPEND_PREPARE > mmc: core: Push common suspend|resume code into each bus_ops > mmc: core: Initiate suspend|resume from mmc bus instead of mmc host > > drivers/mmc/core/bus.c | 28 ++++++++++++++- > drivers/mmc/core/core.c | 87 ++++++++--------------------------------------- > drivers/mmc/core/core.h | 1 + > drivers/mmc/core/mmc.c | 4 +++ > drivers/mmc/core/sd.c | 4 +++ > drivers/mmc/core/sdio.c | 48 +++++++++++++++++++++++--- > 6 files changed, 94 insertions(+), 78 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html