Arm: Tegra: Power: Set throttling ext-sensor temp correctly
Diwakar Tundlam [Fri, 22 Jul 2011 23:22:34 +0000 (16:22 -0700)]
Bug ID: 844882

- Set throttling temperature in ext temp sensor nct1008 for cardhu to 75C
- Fix bug in nct1008 temp sensor driver in disable throttling logic

Original-Change-Id: I2ed8aab63186f16c554ca459e71f3437119bd4e6
Reviewed-on: http://git-master/r/42707
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Ra0a837643b4bfd9c08520d4f5157085c6d97d803

arch/arm/mach-tegra/board-cardhu-sensors.c

index 09ec560..d15cef2 100644 (file)
@@ -524,7 +524,7 @@ static struct nct1008_platform_data cardhu_nct1008_pdata = {
        .hysteresis = 5,
        .shutdown_ext_limit = 90,
        .shutdown_local_limit = 90,
-       .throttling_ext_limit = 90,
+       .throttling_ext_limit = 75,
        .alarm_fn = tegra_throttling_enable,
 };