]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10106 thermal: imx: correct clk enable and thermal sensor init sequence
authorAnson Huang <b20788@freescale.com>
Fri, 16 Jan 2015 13:16:35 +0000 (21:16 +0800)
committerBai Ping <b51503@freescale.com>
Fri, 16 Jan 2015 16:03:57 +0000 (00:03 +0800)
commit4dcbadda9fc9ac1e0e9af19824c24017dcf4db3d
treecb8bc3cb1d49f02f21761ccff2201ae6bcabe91f
parentd8284f936b05102db8c6049b79f51d9bff27cc83
MLK-10106 thermal: imx: correct clk enable and thermal sensor init sequence

thermal sensor's irq init should be done after clk enabled, also,
the low alarm value should be set correctly before clearing its
irq status.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Bai Ping <b51503@freescale.com>
drivers/thermal/imx_thermal.c