From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>
Cc: rafael@kernel.org, dmitry.baryshkov@linaro.org,
konrad.dybcio@linaro.org, linux-pm@vger.kernel.org,
linux-arm-msm@vger.kernel.org, Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
Andy Gross <agross@kernel.org>, Zhang Rui <rui.zhang@intel.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] thermal/drivers/qcom: Remove duplicate set next trip point interrupt code
Date: Wed, 11 Jan 2023 12:24:58 +0100 [thread overview]
Message-ID: <a315e420-5fa4-21c4-e297-42480ebfa2bd@linaro.org> (raw)
In-Reply-To: <20230110181328.el2kicyrg2j554c2@builder.lan>
On 10/01/2023 19:13, Bjorn Andersson wrote:
> On Tue, Jan 10, 2023 at 11:34:20AM +0100, Daniel Lezcano wrote:
>> From: Daniel Lezcano <daniel.lezcano@linaro.org>
>>
>> The tsens driver reprogram the next trip points in the irq
>> handler. This function then call thermal_zone_device_update().
>>
>> However, thermal_zone_device_update() calls thermal_zone_set_trips()
>> and from there it calls the backend 'set_trips' ops. This one in turn
>> reprogram the next trip points (low/high).
>>
>> Consequently, the code setting the next trip points interrupt in the
>> interrupt handle is not needed and could be removed.
>>
>
>
> Reviewed-by: Bjorn Andersson <andersson@kernel.org>
>
>> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
>> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
>
> The last one should be the address you sent your patch from, and that
> was the first one. So I think you should drop this one.
Thanks for the review. I'll remove the duplicated SoB.
-- Daniel
--
<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:[~2023-01-11 11:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-10 10:34 [PATCH] thermal/drivers/qcom: Remove duplicate set next trip point interrupt code Daniel Lezcano
2023-01-10 13:01 ` Rafael J. Wysocki
2023-01-10 13:15 ` Daniel Lezcano
2023-01-10 18:13 ` Bjorn Andersson
2023-01-11 11:24 ` Daniel Lezcano [this message]
2023-01-11 16:41 ` Amit Kucheria
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=a315e420-5fa4-21c4-e297-42480ebfa2bd@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=agross@kernel.org \
--cc=amitk@kernel.org \
--cc=andersson@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=thara.gopinath@gmail.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