]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00220794 imx6 thermal: add suspend and resume for thermal_sys class
authorRong Dian <b38775@freescale.com>
Mon, 20 Aug 2012 12:23:00 +0000 (20:23 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:16 +0000 (08:35 +0200)
commit3822330452421d70fb849ead9a5201933c8748d5
tree30f34599e1c3e6ad01f660d9e3c3e089fdd8e68f
parentcfe5c23807856c6104e15f249cac3abba60dbd73
ENGR00220794 imx6 thermal: add suspend and resume for thermal_sys class

1.Avoiding system wrong reboot caused by error temperature without
cancel_delayed_work before entering into suspend,so to cancel
thermal_zone_device temperature polling temperature delayed_work
before entering into suspend, reenable polling temperature delayed_work
after entering into resume.
2.In anatop_thermal_suspend, turn off alarm firstly

Signed-off-by: Rong Dian <b38775@freescale.com>
drivers/mxc/thermal/thermal.c
drivers/thermal/thermal_sys.c