diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-06-29 17:20:59 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-02 06:20:35 -0700 |
commit | ad8fabee431584601e7184da76604ad3dfdd1109 (patch) | |
tree | 09dd13ec002d4391a192c13250520e36d6189205 /arch/arm/mach-tegra/include/mach/thermal.h | |
parent | 429d909e14eefa0331b1cd30490bce4d7ff45f33 (diff) |
spi: tegra: macro for enable/disable runtime pm inside driver
Add macro in the spi tegra driver for enabling/disabling
runtime PM specific to this driver.
Setting macro SPI_PM_RUNTIME_ENABLE to 1 will enable the
runtime pm and resetting to 0 make runtime pm disable.
The dynamic clock management i.e. enabling the clock before
transfer and disabling after transfer complete is done in
both the cases.
When runtime pm is enabled then clock control is done through
runtime pm callbacks otherwise it will be directly call the
clock control apis.
bug 1003103
Change-Id: I2544e8f3b3e5605e0247791653a5a0ed6c36e9b6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/112142
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/thermal.h')
0 files changed, 0 insertions, 0 deletions