Re: [RFC PATCH 2/2] mmc: core: sdio: claim host before power up or power off

2015-09-11 Thread Kishon Vijay Abraham I
Hi, On Friday 11 September 2015 06:15 PM, Ulf Hansson wrote: > On 24 August 2015 at 12:15, Kishon Vijay Abraham I wrote: >> mmc_sdio_runtime_resume and mmc_sdio_runtime_suspend does power up and >> power off respectively but does so without claiming the host. Among other >> things mmc_claim_host

Re: [RFC PATCH 2/2] mmc: core: sdio: claim host before power up or power off

2015-09-11 Thread Ulf Hansson
On 24 August 2015 at 12:15, Kishon Vijay Abraham I wrote: > mmc_sdio_runtime_resume and mmc_sdio_runtime_suspend does power up and > power off respectively but does so without claiming the host. Among other > things mmc_claim_host inovkes pm_runtime_get_sync to enable the clocks. > Invoke mmc_clai

[RFC PATCH 2/2] mmc: core: sdio: claim host before power up or power off

2015-08-24 Thread Kishon Vijay Abraham I
mmc_sdio_runtime_resume and mmc_sdio_runtime_suspend does power up and power off respectively but does so without claiming the host. Among other things mmc_claim_host inovkes pm_runtime_get_sync to enable the clocks. Invoke mmc_claim_host before mmc_power_up and mmc_power_off in mmc_sdio_runtime_re