linux/drivers/thermal/samsung
Lukasz Majewski acecdb3cf4 thermal: exynos: Remove check for thermal device pointer at exynos_report_trigger()
The commit 4de0bdaa96
("thermal: exynos: Add support for instance based register/unregister")
broke check for presence of therm_dev at global thermal zone in
exynos_report_trigger().

The resulting wrong test prevents thermal_zone_device_update() call, which
calls handlers for situation when trip points are passed.
Such behavior prevents thermal driver from proper reaction (when TMU interrupt
is raised) in a situation when overheating is detected at TMU hardware.

It turns out, that after exynos thermal subsystem redesign (at v3.12) this
check is not needed, since it is not possible to register thermal zone
without valid thermal device.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
2013-10-15 10:10:42 -04:00
..
exynos_thermal_common.c thermal: exynos: Remove check for thermal device pointer at exynos_report_trigger() 2013-10-15 10:10:42 -04:00
exynos_thermal_common.h thermal: exynos: Add driver support for exynos5440 TMU sensor 2013-08-13 09:52:03 -04:00
exynos_tmu_data.c thermal: exynos: Add hardware mode thermal calibration support 2013-08-13 09:52:03 -04:00
exynos_tmu_data.h thermal: exynos: Add hardware mode thermal calibration support 2013-08-13 09:52:03 -04:00
exynos_tmu.c thermal: exynos: Clean up non-DT remnants 2013-08-29 09:37:31 -04:00
exynos_tmu.h thermal: exynos: Add hardware mode thermal calibration support 2013-08-13 09:52:03 -04:00
Kconfig thermal: exynos: Clean up non-DT remnants 2013-08-29 09:37:31 -04:00
Makefile thermal: exynos: Bifurcate exynos tmu driver and configuration data 2013-08-13 09:52:00 -04:00