From 1d4e6deb97f650950cd4cbecc3e3ec8db55e8dfd Mon Sep 17 00:00:00 2001 From: Hyungwoo Yang Date: Tue, 28 Jan 2014 17:31:44 -0800 Subject: ARM: tegra: thermal: fix therm_est_activ polling During bootup, deadlock happens with "thermal_list_lock" while trying to finding zones for sub_devs. This change fixes the deadlock issue and also removes zone lookup which happens on every temperature reading. Bug 1415692 Change-Id: I13a81de7ef9051e8d7a0fe0f2c59febdea0fa1d5 Signed-off-by: Hyungwoo Yang Reviewed-on: http://git-master/r/361188 --- include/linux/therm_est.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/therm_est.h b/include/linux/therm_est.h index 7526aa9b7..b89ca44cb 100644 --- a/include/linux/therm_est.h +++ b/include/linux/therm_est.h @@ -28,6 +28,7 @@ struct therm_est_subdevice { void *dev_data; + struct thermal_zone_device *sub_thz; long coeffs[HIST_LEN]; long hist[HIST_LEN]; }; -- cgit v1.2.2