spi: tegra: Handles suspend when spi transfer is in progress
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 13 Sep 2011 12:57:55 +0000 (17:57 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:49:15 +0000 (21:49 -0800)
commit918ede898fc2ebbf6ce1c7ee42a3d19fc34fdb12
tree698108f35699f45087719f3e123af8616a4d7aae
parentf1f0f6b1ac4adb9e63e27dc9b5f3721e81d1f6f6
spi: tegra: Handles suspend when spi transfer is in progress

Avoiding the suspend of the system if the spi transfer is
in progress for current transfer queue.

bug 864987

Reviewed-on: http://git-master/r/56599
(cherry picked from commit 0ba8ed371f2937a095752a0edbc15ed75664644a)
Change-Id: Ife7ae8a7d66a66d047ee2c8829d16017571b4d58
Reviewed-on: http://git-master/r/57001
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rc66d6c7ae51ea6709d5e47331fef30c87029b343
drivers/spi/spi-tegra.c