From: Markus Elfring <Markus.Elfring@web.de>
To: Jiawen Liu <1298662399@qq.com>,
linux-mmc@vger.kernel.org,
Adrian Hunter <adrian.hunter@intel.com>,
Ben Dooks <ben-linux@fluff.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Ulf Hansson <ulfh@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Christophe Jaillet <christophe.jaillet@wanadoo.fr>,
Fabio Estevam <festevam@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Frank Li <Frank.Li@kernel.org>,
"H. Nikolaus Schaller" <hns@goldelico.com>
Subject: Re: [PATCH] mmc: sdhci-s3c: handle interface clock enable failures
Date: Sun, 29 Nov 2026 20:44:42 +0100 [thread overview]
Message-ID: <84ab8db8-8766-418c-b0c5-447dda48d106@web.de> (raw)
In-Reply-To: <tencent_AD6918D0E637A7B2AD5EAA6810724C57C705@qq.com>
> sdhci_s3c_probe() ignores the result of enabling the hsmmc interface
> clock. The clock helper unwinds partial preparation on failure, but probe
> continues into controller setup without a successful enable. A later
> probe error also reaches cleanup that assumes the clock was enabled.
>
> Propagate the original error immediately and leave the successful-enable
> cleanup labels for paths that actually acquired the reference.
Will the function “devm_clk_get_enabled” become applicable once more?
https://elixir.bootlin.com/linux/v7.4-rc2/source/include/linux/clk.h#L615-L632
https://elixir.bootlin.com/linux/v7.4-rc2/source/drivers/mmc/host/sdhci-s3c.c#L530-L537
Regards,
Markus
prev parent reply other threads:[~2026-11-29 19:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 12:58 Jiawen Liu
2026-11-29 19:44 ` Markus Elfring [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=84ab8db8-8766-418c-b0c5-447dda48d106@web.de \
--to=markus.elfring@web.de \
--cc=1298662399@qq.com \
--cc=Frank.Li@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=ben-linux@fluff.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=f.fainelli@gmail.com \
--cc=festevam@gmail.com \
--cc=hns@goldelico.com \
--cc=jh80.chung@samsung.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ulfh@kernel.org \
/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
all inboxes | Powered by JetHome®