From 929a1f9d4fb33f6d08cf916943bf13ae7cf3732e Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 24 Jun 2013 14:31:02 +0200 Subject: =?UTF-8?q?apalis=5Ft30:=20set=20local=20critical=20temperatur=20t?= =?UTF-8?q?o=2095=C2=B0C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the local critical temperature is reached the power is unconditionally switched off. At 70°C ambient the default of 85°C can be reached. So increase the limit in the hwmon chip to 95°C. --- arch/arm/mach-tegra/board-apalis_t30.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-tegra/board-apalis_t30.c') diff --git a/arch/arm/mach-tegra/board-apalis_t30.c b/arch/arm/mach-tegra/board-apalis_t30.c index 493510bda657..5ed04bffba03 100644 --- a/arch/arm/mach-tegra/board-apalis_t30.c +++ b/arch/arm/mach-tegra/board-apalis_t30.c @@ -908,6 +908,10 @@ static void lm95245_probe_callback(struct device *dev) IRQF_TRIGGER_LOW, "THERMD_ALERT_N", NULL)) pr_err("%s: unable to register THERMD_ALERT_N interrupt\n", __func__); + + //initalize the local temp limit + if(dev) + lm95245_set_local_shared_os__critical_limit(dev, TCRIT_LOCAL); } static void apalis_t30_thermd_alert_init(void) -- cgit v1.2.3