Thermal: pid_thermal_gov: Skip unncessary throttle target calculation
authorJinyoung Park <jinyoungp@nvidia.com>
Mon, 29 Apr 2013 17:18:19 +0000 (02:18 +0900)
committerHarshada Kale <hkale@nvidia.com>
Fri, 3 May 2013 07:54:38 +0000 (00:54 -0700)
commit159e09723a215e43e0a84fa0f4c7ea95594ba20f
tree82eaea84619f76f894a8ed8ba2dd0386b8d57340
parent52888c87fc5e8293d75f9148ba6aafa1a1b51747
Thermal: pid_thermal_gov: Skip unncessary throttle target calculation

Skip throttle target calculation if upper state and lower state are same.

Change-Id: I36d3ed7e324225ee03b3330f7ad80f0cd3e27457
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/223933
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/thermal/pid_thermal_gov.c