From: Markus Elfring <Markus.Elfring@web.de>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
linux-sunxi@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
Arnd Bergmann <arnd@arndb.de>,
bui duc phuc <phucduc.bui@gmail.com>,
Chen-Yu Tsai <wens@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Hans de Goede <hdegoede@redhat.com>,
Jakub Kicinski <kuba@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Joe Damato <joe@dama.to>, Julia Lawall <julia.lawall@inria.fr>,
Li Youhong <liyouhong@kylinos.cn>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Paolo Abeni <pabeni@redhat.com>,
Samuel Holland <samuel@sholland.org>,
LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org,
Christophe Jaillet <christophe.jaillet@wanadoo.fr>,
Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: net: allwinner: Use devm_clk_get_enabled() in emac_probe()
Date: Wed, 25 Nov 2026 13:48:15 +0100 [thread overview]
Message-ID: <ff7e007d-e4cb-40c5-935c-91a2f3ba0224@web.de> (raw)
In-Reply-To: <awXw07bDd0bX4Mas@ashevche-desk.local>
> This breaks the order at remove and probe error path cases.
Would the proposed control flow adjustment be different from a “break”?
> Note, devm_*() at this case will keep just a clk object, but
> the actual enabling is done explicitly.
https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/net/ethernet/allwinner/sun4i-emac.c#L960-L1082
> W/o testing on real
> HW it's hard to say if this order is strict or not.
How will the support refined further also for collateral evolution together with
devres programming interfaces?
Regards,
Markus
prev parent reply other threads:[~2026-11-25 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:19 [PATCH] " Markus Elfring
2026-11-24 20:17 ` Andy Shevchenko
2026-11-25 12:48 ` 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=ff7e007d-e4cb-40c5-935c-91a2f3ba0224@web.de \
--to=markus.elfring@web.de \
--cc=Frank.Li@nxp.com \
--cc=andrew+netdev@lunn.ch \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=christophe.jaillet@wanadoo.fr \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=hdegoede@redhat.com \
--cc=jernej.skrabec@gmail.com \
--cc=joe@dama.to \
--cc=julia.lawall@inria.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=liyouhong@kylinos.cn \
--cc=maxime.ripard@free-electrons.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=phucduc.bui@gmail.com \
--cc=samuel@sholland.org \
--cc=wens@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®