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@xxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html