spi: tegra: do not start transfer if runtime pm fails to resume
authorJohnny Qiu <joqiu@nvidia.com>
Mon, 18 Jun 2012 07:11:23 +0000 (15:11 +0800)
committerSimone Willett <swillett@nvidia.com>
Wed, 20 Jun 2012 20:40:53 +0000 (13:40 -0700)
commitb426ea53fbdd902e85eacb865d1b2912b49260fe
treec7d26c72bb9c68337f9d10c90d93b515a7b5dc19
parent03b3d64a3fef9419e1b6eec35ff9add0785dd045
spi: tegra: do not start transfer if runtime pm fails to resume

Bug 995706

During device shutdown/rebooting, runtime PM is disabled. SPI bus
driver will fail to call tegra_spi_runtime_resume() to resume the
clock needed by tranferring. In this case, do not start transferring.

Change-Id: I42cc0763f55b6c90df00fbad68794939e903199a
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/109458
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/spi/spi-tegra.c