From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: imx@lists.linux.dev, linux-spi@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de,
Fabio Estevam <festevam@gmail.com>, Frank Li <Frank.Li@nxp.com>,
Johan Hovold <johan@kernel.org>, Mark Brown <broonie@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org,
Christophe Jaillet <christophe.jaillet@wanadoo.fr>,
Florian Fainelli <f.fainelli@gmail.com>,
Michal Simek <michal.simek@amd.com>
Subject: Re: [PATCH] spi: imx: Use devm_clk_get_enabled() calls in spi_imx_probe()
Date: Mon, 23 Nov 2026 19:27:40 +0200 [thread overview]
Message-ID: <awR3jGcH97PrYNqc@ashevche-desk.local> (raw)
In-Reply-To: <895d50a6-3a42-44d2-8625-3b8cba8fbfff@web.de>
On Mon, Nov 23, 2026 at 05:23:12PM +0100, Markus Elfring wrote:
>
> * Reuse existing functionality from devm_clk_get_enabled() instead of
> keeping duplicate source code.
>
> * Delete clk_disable_unprepare() calls on error handling paths.
>
> * Omit the label “out_put_per”.
>
> This issue was detected by using the Coccinelle software.
This now messes up with the PM callbacks at remove stage.
It's not trivial how to make it correct.
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2026-11-23 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 16:23 [PATCH] spi: imx: Use devm_clk_get_enabled() calls in spi_imx_probe() Markus Elfring
2026-11-23 17:27 ` Andy Shevchenko [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=awR3jGcH97PrYNqc@ashevche-desk.local \
--to=andriy.shevchenko@linux.intel.com \
--cc=Frank.Li@nxp.com \
--cc=Markus.Elfring@web.de \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=f.fainelli@gmail.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=johan@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=s.hauer@pengutronix.de \
/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