Re: [PATCH 2/4] spi: spi-pl022: Minor simplification for runtime pm

2012-10-17 Thread Linus Walleij
On Wed, Oct 17, 2012 at 4:39 PM, Ulf Hansson wrote: > We have discussed this patch previously. I think we shall use it, but > we should change the commit msg since it does not reflect the truth. > It is no more true that "upper layer in driver core is preventing the > device from being runtime su

Re: [PATCH 2/4] spi: spi-pl022: Minor simplification for runtime pm

2012-10-17 Thread Ulf Hansson
Hi, We have discussed this patch previously. I think we shall use it, but we should change the commit msg since it does not reflect the truth. It is no more true that "upper layer in driver core is preventing the device from being runtime suspended by a pm_runtime_get*". This was the case earlier.

[PATCH 2/4] spi: spi-pl022: Minor simplification for runtime pm

2012-10-17 Thread Linus Walleij
From: Ulf Hansson In probe pm_runtime_put_autosuspend has the same effect as doing pm_runtime_put. This due to upper layer in driver core is preventing the device from being runtime suspended by a pm_runtime_get*. Signed-off-by: Ulf Hansson Signed-off-by: Linus Walleij --- drivers/spi/spi-pl0