Thread (4 messages) 4 messages, 2 authors, 2015-08-25
DORMANTno replies

[RFC PATCH v1 3/3] thermal: user space governor: Notification for IIO bindings

From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date: 2015-08-25 19:59:38
Also in: linux-iio
Subsystem: the rest, thermal · Maintainers: Linus Torvalds, Rafael J. Wysocki, Daniel Lezcano

When user space is notified during thermal_zone_device_update, when
governor is user space, also call IIO binding notification function.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/thermal/user_space.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/thermal/user_space.c b/drivers/thermal/user_space.c
index 10adcdd..52e2914 100644
--- a/drivers/thermal/user_space.c
+++ b/drivers/thermal/user_space.c
@@ -34,6 +34,7 @@
  */
 static int notify_user_space(struct thermal_zone_device *tz, int trip)
 {
+	thermal_iio_sensor_threshold_notify(tz);
 	mutex_lock(&tz->lock);
 	kobject_uevent(&tz->device.kobj, KOBJ_CHANGE);
 	mutex_unlock(&tz->lock);
-- 
2.4.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help