Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-30 Thread Ulf Hansson
On 27 March 2015 at 22:52, NeilBrown ne...@suse.de wrote: On Fri, 27 Mar 2015 12:15:15 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't

Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-30 Thread Ulf Hansson
On 29 March 2015 at 12:53, Konstantin Dorfman kdorf...@codeaurora.org wrote: On 03/28/2015 12:52 AM, NeilBrown wrote: On Fri, 27 Mar 2015 12:15:15 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM

Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-30 Thread Konstantin Dorfman
On 03/27/2015 02:15 PM, Ulf Hansson wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't know when the core will send the next request through some of the host_ops callbacks, they need

Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-29 Thread Konstantin Dorfman
On 03/28/2015 12:52 AM, NeilBrown wrote: On Fri, 27 Mar 2015 12:15:15 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't know when the core

[PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-27 Thread Ulf Hansson
Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't know when the core will send the next request through some of the host_ops callbacks, they need to handle runtime PM get/put between each an

Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-27 Thread Adrian Hunter
On 27/03/15 13:15, Ulf Hansson wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't know when the core will send the next request through some of the host_ops callbacks, they need to

Re: [PATCH] mmc: core: Enable runtime PM management of host devices

2015-03-27 Thread NeilBrown
On Fri, 27 Mar 2015 12:15:15 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: Currently those host drivers which have deployed runtime PM, deals with the runtime PM reference counting entirely by themselves. Since host drivers don't know when the core will send the next request through some