Re: [PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-07 Thread Rafael J. Wysocki
On Friday 05 of October 2012 14:19:57 Linus Walleij wrote: > On Thu, Oct 4, 2012 at 11:07 AM, Ulf Hansson wrote: > > > Mark, I am not sure this particular patch is actually wanted. Realized > > that when reading up on the driver/base/* patches for PM changes this > > summer. Especially how device

Re: [PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-05 Thread Linus Walleij
On Thu, Oct 4, 2012 at 11:07 AM, Ulf Hansson wrote: > Mark, I am not sure this particular patch is actually wanted. Realized > that when reading up on the driver/base/* patches for PM changes this > summer. Especially how device probe/suspend/shutdown etc. has been > changed for runtime PM point

Re: [PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-04 Thread Ulf Hansson
Hi, Mark, I am not sure this particular patch is actually wanted. Realized that when reading up on the driver/base/* patches for PM changes this summer. Especially how device probe/suspend/shutdown etc. has been changed for runtime PM point of view. Maybe you can comment? Kind regards Ulf Hansso

[PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-04 Thread Ulf Hansson
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 Reviewed-by: Linus Walleij --- drivers/spi/spi-pl022