]> git.baikalelectronics.ru Git - kernel.git/commit
Thermal: imx: add clk disable/enable for suspend/resume
authorAnson Huang <b20788@freescale.com>
Tue, 6 Jan 2015 10:50:22 +0000 (18:50 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 6 Jan 2015 13:35:15 +0000 (09:35 -0400)
commit7145369657c0d280360d1f3be038ed0440c49a9b
treeaa77e88d276f8a3b2451ccbba1a232de46eb1f60
parent67e3d74bc46e2c06c92eb60293ab6a39a220da7f
Thermal: imx: add clk disable/enable for suspend/resume

Thermal sensor's clk is from pll3_usb_otg, per hardware
design requirement, need to make sure pll3_usb_otg is disabled
before STOP mode is entered, otherwise, all PFDs under it may
enter incorrect state, this patch disables pll3_usb_otg before
suspend and enables it after resume.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/imx_thermal.c