From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: "Rafael J. Wysocki" <rafael@kernel.org>,
Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Cc: Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] thermal/sysfs: Always enable hysteresis write support
Date: Mon, 29 Jan 2024 18:54:40 +0100 [thread overview]
Message-ID: <a522d8de-c871-4a2e-8b07-d5693abb4a7b@linaro.org> (raw)
In-Reply-To: <CAJZ5v0hM9Y+cV7WrEHe6WjzQ0ATnBce4NO1wxvZh=fcLWPkqKA@mail.gmail.com>
Hi Rafael,
On 29/01/2024 18:07, Rafael J. Wysocki wrote:
[ ... ]
>> Index: linux-pm/drivers/thermal/thermal_sysfs.c
>> ===================================================================
>> --- linux-pm.orig/drivers/thermal/thermal_sysfs.c
>> +++ linux-pm/drivers/thermal/thermal_sysfs.c
>> @@ -474,7 +474,8 @@ static int create_trip_attrs(struct ther
>> tz->trip_hyst_attrs[indx].name;
>> tz->trip_hyst_attrs[indx].attr.attr.mode = S_IRUGO;
>> tz->trip_hyst_attrs[indx].attr.show = trip_point_hyst_show;
>> - if (tz->ops->set_trip_hyst) {
>> + if (IS_ENABLED(CONFIG_THERMAL_WRITABLE_TRIPS) &&
>> + mask & (1 << indx)) {
>> tz->trip_hyst_attrs[indx].attr.attr.mode |= S_IWUSR;
>> tz->trip_hyst_attrs[indx].attr.store =
>> trip_point_hyst_store;
>
> So it looks like I need to submit this, even though I'm not sure if
> anyone cares.
>
> In any case, I care about consistency.
Yeah, sorry for the delay. I'll have a look at it tomorrow
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2024-01-29 17:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-06 19:15 [PATCH] thermal/sysfs: Always enable hysteresis write support Manaf Meethalavalappu Pallikunhi
2024-01-09 13:42 ` Rafael J. Wysocki
2024-01-10 12:47 ` Manaf Meethalavalappu Pallikunhi
2024-01-10 12:49 ` Rafael J. Wysocki
[not found] ` <d7b82fc8-0ed8-80b8-9eb8-c77f9277178f@quicinc.com>
2024-01-10 12:48 ` Rafael J. Wysocki
2024-01-11 14:09 ` Manaf Meethalavalappu Pallikunhi
2024-01-17 16:57 ` Daniel Lezcano
2024-01-17 18:49 ` Rafael J. Wysocki
2024-01-18 10:25 ` Daniel Lezcano
2024-01-22 10:19 ` Rafael J. Wysocki
2024-01-29 17:07 ` Rafael J. Wysocki
2024-01-29 17:54 ` Daniel Lezcano [this message]
2024-01-29 20:45 ` Rafael J. Wysocki
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=a522d8de-c871-4a2e-8b07-d5693abb4a7b@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=quic_manafm@quicinc.com \
--cc=rafael@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