Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Julia Lawall
Thu, 26 Nov 2026 22:50
Re: bcm63xx_enet: Use devm_clk_get_enabled() in two probe functions
Author: Julia Lawall
Date: Thu, 26 Nov 2026 22:50
Date: Thu, 26 Nov 2026 22:50
32 lines
9809 bytes
9809 bytes
> On 27 Nov 2026, at 01:30, Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote: > > Le 26/11/2026 à 07:30, Markus Elfring a écrit : >>>>> Why changing only one devm_clk_get()? >>>> The change relevance is varying for the involved clocks of the affected Linux drivers, >>>> isn't it? >>> >>> Your patch is related to bcm_enet_probe(). >>> >>> See L1754 and L1791. These 2 calls are related to 2 clk_disable_unprepare() calls in the error handling path and in the remove function. >>> >>> Why only update one place, and keep one clk_disable_unprepare()? >> The ungating of the item “priv->phy_clk” depends on special condition checks. > > This does not answer the question. Furthermore ungating is not a real word. > >> https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/net/ethernet/broadcom/bcm63xx_enet.c#L1789-L1800 >> Regards, >> Markus > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads