]> www.infradead.org Git - linux.git/commit
phy: ti: phy-j721e-wiz: split wiz_clock_init() function
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 16 Apr 2024 12:52:31 +0000 (14:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 3 Jun 2024 13:47:01 +0000 (19:17 +0530)
commit3c4e13cf9ead79fac3b217e228c1c7d3db3e132f
tree432f03743702ba925b174bb814dd9a5bc9448fb0
parent5aa4733b1b9324e224ebe59e3672887a57d51083
phy: ti: phy-j721e-wiz: split wiz_clock_init() function

The wiz_clock_init() function mixes probe and hardware configuration.
Rename the wiz_clock_init() to wiz_clock_probe() and move the hardware
configuration part in a new function named wiz_clock_init().

This hardware configuration sequence must be called during the resume
stage of the driver.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20240412-j7200-phy-s2r-v1-2-f15815833974@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c