power: bpcm: Re-try setting BPC limit
authorAlex Frid <afrid@nvidia.com>
Sun, 11 Mar 2012 08:02:33 +0000 (00:02 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 04:41:02 +0000 (09:41 +0530)
commit56266757030580c8ebcd0cb71ce77482da6dd29b
tree88a2556965279849875cb9042d8ecf7879452409
parentf7bffede9dae96003079d248c5c784233b5f6f36
power: bpcm: Re-try setting BPC limit

Check returned value from BPC set limit api, and re-try again
on error. Keep CPU throttled while re-trying.

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 8d5e5a36a03587e3e9374ad8cec6958bd3617f0c)

Change-Id: I29b24a92b87cbd41d68473d0c9ef4c8d6add992f
Reviewed-on: http://git-master/r/93732
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/cpu-tegra.c
drivers/power/tegra_bpc_mgmt.c