]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
commit3ad9524a15126c24fc37922f56a0fb5dd03c218f
tree6498afc97dddff0db4cbb8c78b84fbacd5cf20f4
parentd6d71ee4a14ae602db343ec48c491851d7ec5267
thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

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>
drivers/thermal/exynos_thermal.c