Re: [PATCH] spi: slink-tegra20: move runtime pm calls to transfer_one_message

2013-03-12 Thread Mark Brown
On Fri, Mar 08, 2013 at 11:51:19AM +0530, Laxman Dewangan wrote: > The prepare_transfer_hardware() is called in atomic context and > calling synchronous runtime pm calls can create scheduling deadlock. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] spi: slink-tegra20: move runtime pm calls to transfer_one_message

2013-03-08 Thread Stephen Warren
On 03/07/2013 11:21 PM, Laxman Dewangan wrote: > The prepare_transfer_hardware() is called in atomic context and > calling synchronous runtime pm calls can create scheduling deadlock. > > Therefore, in place of calling runtime PM calls from prepare/unprepare > message transfer, calling this in tra

[PATCH] spi: slink-tegra20: move runtime pm calls to transfer_one_message

2013-03-07 Thread Laxman Dewangan
The prepare_transfer_hardware() is called in atomic context and calling synchronous runtime pm calls can create scheduling deadlock. Therefore, in place of calling runtime PM calls from prepare/unprepare message transfer, calling this in transfer_one_message(). Signed-off-by: Laxman Dewangan ---