From: Laxman Dewangan Date: Fri, 8 Mar 2013 06:21:19 +0000 (+0530) Subject: spi: slink-tegra20: move runtime pm calls to transfer_one_message X-Git-Tag: v3.9-rc6~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d558c4733759e077cf449246983a5d1fe97fc434;p=pandora-kernel.git spi: slink-tegra20: move runtime pm calls to transfer_one_message 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 Tested-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed