Re: [PATCH v2] spi/pl022: get/put resources on suspend/resume

2012-09-28 Thread Mark Brown
On Wed, Sep 26, 2012 at 06:06:22PM +0200, Linus Walleij wrote: This factors out the resource handling in runtime suspend/resume and also calls it from the ordinary suspend and resume hooks. Applied, thanks. -- Got

[PATCH v2] spi/pl022: get/put resources on suspend/resume

2012-09-26 Thread Linus Walleij
This factors out the resource handling in runtime suspend/resume and also calls it from the ordinary suspend and resume hooks. The semantics require that ordinary PM op suspend is called with runtime PM in resumed mode, so that ordinary suspend can assume that it will e.g. decrease the clock

Re: [PATCH v2] spi/pl022: get/put resources on suspend/resume

2012-09-26 Thread vipul kumar samar
On 9/26/2012 9:36 PM, Linus WALLEIJ wrote: This factors out the resource handling in runtime suspend/resume and also calls it from the ordinary suspend and resume hooks. The semantics require that ordinary PM op suspend is called with runtime PM in resumed mode, so that ordinary suspend can