From: "hongbo.zhang"
If the thermal zone mode is disabled, all the referenced cooling
devices should be put into state zero.
Without this patch the thermal driver cannot deactive all its
cooling devices in .set_mode callback, because the cooling device
list is maintained in the generic thermal la
From: "hongbo.zhang"
This patch set contains two patches.
[PATCH 1/2]
A new interface is introduced to deactive all the referenced cooling devices
when thermal zone is disabled. Because the cooling device list is maintained
in the generic thermal layer, the thermal driver cannot walk through the
From: "hongbo.zhang"
A cooling device should be set to state zero when it is unbound.
Signed-off-by: hongbo.zhang
---
drivers/thermal/thermal_sys.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index 2c28c85..efc5c56 100644