Re: [PATCH] mmc: core: Mark mmc_host device with pm_runtime_no_callbacks

2021-03-23 Thread Ulf Hansson
On Tue, 23 Mar 2021 at 11:49, hieagle wrote: > > We encounter a resume issue in our device sometimes. The mmc device's > parent list is > mmc0:0001->mmc_host mmc0->fa63.mmc->soc in our soc. We found in the blow > case with mmc0->power.disable_depth=0 the mmc_runtime_resume will be skipped, >

Re: [PATCH] mmc: core: Mark mmc_host device with pm_runtime_no_callbacks

2021-03-23 Thread hieagle
We encounter a resume issue in our device sometimes. The mmc device's parent list is mmc0:0001->mmc_host mmc0->fa63.mmc->soc in our soc. We found in the blow case with mmc0->power.disable_depth=0 the mmc_runtime_resume will be skipped, which cause subsequent mmc command fail.

Re: [PATCH] mmc: core: Mark mmc_host device with pm_runtime_no_callbacks

2021-03-22 Thread Ulf Hansson
On Sat, 20 Mar 2021 at 05:57, kehuanlin wrote: > > The rpm_resume() will call parent's resume callback recursively. > Since mmc_host has no its own pm_runtime callbacks, the mmc devices > may fail to resume (-ENOSYS in rpm_callback) sometimes. Mark mmc_host > device with pm_runtime_no_callbacks

[PATCH] mmc: core: Mark mmc_host device with pm_runtime_no_callbacks

2021-03-19 Thread kehuanlin
The rpm_resume() will call parent's resume callback recursively. Since mmc_host has no its own pm_runtime callbacks, the mmc devices may fail to resume (-ENOSYS in rpm_callback) sometimes. Mark mmc_host device with pm_runtime_no_callbacks can fix the issue. Signed-off-by: kehuanlin ---