From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
Heiko Stuebner <heiko@sntech.de>,
Richard Weinberger <richard@nod.at>,
Yihao Han <hanyihao@vivo.com>,
linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH] mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed
Date: Mon, 16 May 2022 18:44:43 +0200 [thread overview]
Message-ID: <20220516184443.25827c24@xps-13> (raw)
In-Reply-To: <20220512184558.45966-1-phil.edworthy@renesas.com>
Hi Phil,
phil.edworthy@renesas.com wrote on Thu, 12 May 2022 19:45:58 +0100:
> All code in clk_disable_unprepare() already checks the clk ptr using
> IS_ERR_OR_NULL so there is no need to check it again before calling it.
> A lot of other drivers already rely on this behaviour, so it's safe
> to do so here.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Both patches have been applied to nand/next.
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
prev parent reply other threads:[~2022-05-16 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 18:45 [PATCH] mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed Phil Edworthy
2022-05-16 16:44 ` Miquel Raynal [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=20220516184443.25827c24@xps-13 \
--to=miquel.raynal@bootlin.com \
--cc=hanyihao@vivo.com \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=phil.edworthy@renesas.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.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).