thermal: exynos: Miscellaneous fixes to support falling threshold interrupt
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Thu, 17 Jan 2013 01:42:18 +0000 (01:42 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 6 Feb 2013 05:45:19 +0000 (13:45 +0800)
Below fixes are done to support falling threshold interrupt,
* Falling interrupt status macro corrected according to exynos5 data sheet.
* The get trend function modified to calculate trip temperature correctly.
* The clearing of interrupt status in the isr is now done after handling
  the event that caused the interrupt.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found