From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: jic23@kernel.org, edubezval@gmail.com, rui.zhang@intel.com
Cc: linux-iio@vger.kernel.org, linux-pm@vger.kernel.org,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Subject: [RFC PATCH v1 3/3] thermal: user space governor: Notification for IIO bindings
Date: Tue, 25 Aug 2015 12:58:32 -0700 [thread overview]
Message-ID: <1440532712-5025-4-git-send-email-srinivas.pandruvada@linux.intel.com> (raw)
In-Reply-To: <1440532712-5025-1-git-send-email-srinivas.pandruvada@linux.intel.com>
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
prev parent reply other threads:[~2015-08-25 19:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 19:58 [RFC PATCH v1 0/3] thermal: iio bindings Srinivas Pandruvada
2015-08-25 19:58 ` [RFC PATCH v1 1/3] thermal: iio device for thermal sensor Srinivas Pandruvada
2015-08-31 16:52 ` Jonathan Cameron
2015-08-25 19:58 ` [RFC PATCH v1 2/3] thermal: use iio binding calls Srinivas Pandruvada
2015-08-25 19:58 ` Srinivas Pandruvada [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440532712-5025-4-git-send-email-srinivas.pandruvada@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=edubezval@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).