thermal: imx: add necessary clk operation
authorAnson Huang <b20788@freescale.com>
Mon, 23 Dec 2013 20:49:22 +0000 (15:49 -0500)
committerZhang Rui <rui.zhang@intel.com>
Fri, 3 Jan 2014 14:49:16 +0000 (22:49 +0800)
Thermal sensor needs pll3_usb_otg when measuring temperature,
otherwise the temperature read will be incorrect, so need to
enable this clk before sensor working, for alarm function,
as hardware will take measurement periodically, so we should
keep this clk always on once alarm function is enabled.

Signed-off-by: Anson Huang <b20788@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found