spi: tegra: Add stub runtime power management
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 29 Aug 2012 11:42:05 +0000 (16:42 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 29 Aug 2012 20:42:35 +0000 (13:42 -0700)
commitdfc549a6a2638d257ed769d0d2805005294b9c3b
tree2e6ceb86353085da9ecf8278476e7ecfab3a2384
parent08dc4014dc57ecbd495f54bfd89dc31d66bfb64e
spi: tegra: Add stub runtime power management

Add stub runtime_pm calls which go through the flow of enabling and
disabling but don't actually do anything with the device itself as
there's nothing useful we can do. This provides the core PM framework
with information about when the device is idle, enabling chip wide
power savings.

Change-Id: Ie795c16840ccbe07e1a8bfac1a1c5a87281e6849
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/128184
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/spi/spi-tegra.c