Re: [PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-28 Thread Barry Song
2012/1/12 Dmitry Shmidt dimitr...@google.com On Tue, Jan 10, 2012 at 6:44 PM, Barry Song 21cn...@gmail.com wrote: 2012/1/10 Dmitry Shmidt dimitr...@google.com: Signed-off-by: Dmitry Shmidt dimitr...@google.com Hi Dmitry, after you move mmc_bus_suspend, mmc_bus_resume to dev_pm_ops,

Re: [PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-28 Thread Barry Song
2012/1/12 Dmitry Shmidt dimitr...@google.com On Tue, Jan 10, 2012 at 6:44 PM, Barry Song 21cn...@gmail.com wrote: 2012/1/10 Dmitry Shmidt dimitr...@google.com: Signed-off-by: Dmitry Shmidt dimitr...@google.com Acked-by: Barry Song baohua.s...@csr.com Hi Dmitry, after you move

Re: [PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-11 Thread Dmitry Shmidt
On Tue, Jan 10, 2012 at 6:44 PM, Barry Song 21cn...@gmail.com wrote: 2012/1/10 Dmitry Shmidt dimitr...@google.com: Signed-off-by: Dmitry Shmidt dimitr...@google.com Hi Dmitry, after you move mmc_bus_suspend, mmc_bus_resume to dev_pm_ops, while doing hiberantion by swsusp, suspend/resume will

[PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-10 Thread Dmitry Shmidt
Signed-off-by: Dmitry Shmidt dimitr...@google.com --- drivers/mmc/card/block.c |4 ++-- drivers/mmc/core/bus.c | 25 - include/linux/mmc/card.h |2 +- 3 files changed, 11 insertions(+), 20 deletions(-) diff --git a/drivers/mmc/card/block.c

Re: [PATCH V4] mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used

2012-01-10 Thread Barry Song
2012/1/10 Dmitry Shmidt dimitr...@google.com: Signed-off-by: Dmitry Shmidt dimitr...@google.com Hi Dmitry, after you move mmc_bus_suspend, mmc_bus_resume to dev_pm_ops, while doing hiberantion by swsusp, suspend/resume will not be called by the hibernation flow since it will move to call