From: Jitao Shi <jitao.shi@mediatek.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: "Matthias Brugger" <matthias.bgg@gmail.com>,
"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
srv_heupstream <srv_heupstream@mediatek.com>,
"Yingjoe Chen (陳英洲)" <Yingjoe.Chen@mediatek.com>,
"Eddie Huang (黃智傑)" <eddie.huang@mediatek.com>,
"Cawa Cheng (鄭曄禧)" <cawa.cheng@mediatek.com>,
"Bibby Hsieh (謝濟遠)" <Bibby.Hsieh@mediatek.com>,
"CK Hu (胡俊光)" <ck.hu@mediatek.com>,
"stonea168@163.com" <stonea168@163.com>,
"Huijuan Xie (谢慧娟)" <Huijuan.Xie@mediatek.com>
Subject: Re: [PATCH v2 1/3] pwm: mtk_disp: clear the clock operations
Date: Wed, 26 May 2021 09:54:03 +0800 [thread overview]
Message-ID: <1621994043.32080.9.camel@mszsdaap41> (raw)
In-Reply-To: <YDO/0Onf6a09YRsP@ulmo.localdomain>
On Mon, 2021-02-22 at 22:29 +0800, Thierry Reding wrote:
> On Sat, Jan 30, 2021 at 10:12:24PM +0800, Jitao Shi wrote:
> > Remove the clk_prepare from mtk_disp_pwm_probe.
> > Remove the clk_unprepare from mtk_disp_pwm_remove.
> >
> > Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
> > ---
> > drivers/pwm/pwm-mtk-disp.c | 23 ++---------------------
> > 1 file changed, 2 insertions(+), 21 deletions(-)
>
> It's not clear *why* you're doing this change. It's already obvious from
> the changes in this patch that you're removing the calls to
> clk_prepare() and clk_unprepare(), so instead of duplicating that
> information in the commit message, take this opportunity to describe why
> this change is needed. Without any further context, this would seem to
> just break operation of this chip because now these clocks are never
> enabled in the first place.
>
> Thierry
Thanks for your review.
I'll update the commit message next version.
The original issue is the clocks doesn't be disabled when system enter
standby.
Then I adjust the the clock sequence. and Uwe subject convert thelegacy
APIs of .apply().
next prev parent reply other threads:[~2021-05-26 1:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 14:12 [PATCH v2 0/3] Convert the mtk_disp driver to aotmic API Jitao Shi
2021-01-30 14:12 ` [PATCH v2 1/3] pwm: mtk_disp: clear the clock operations Jitao Shi
2021-02-22 14:29 ` Thierry Reding
2021-05-26 1:54 ` Jitao Shi [this message]
2021-01-30 14:12 ` [PATCH v2 2/3] pwm: mtk_disp: convert the driver to atomic API Jitao Shi
2021-01-30 14:12 ` [PATCH v2 3/3] pwm: mtk_disp: implement .get_state() Jitao Shi
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=1621994043.32080.9.camel@mszsdaap41 \
--to=jitao.shi@mediatek.com \
--cc=Bibby.Hsieh@mediatek.com \
--cc=Huijuan.Xie@mediatek.com \
--cc=Yingjoe.Chen@mediatek.com \
--cc=cawa.cheng@mediatek.com \
--cc=ck.hu@mediatek.com \
--cc=eddie.huang@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=srv_heupstream@mediatek.com \
--cc=stonea168@163.com \
--cc=thierry.reding@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