]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: cadence-torrent: register resets even if the phy is already configured
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 16 Apr 2024 12:52:34 +0000 (14:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 3 Jun 2024 13:47:01 +0000 (19:17 +0530)
commit8512b6873461c4d31f89c3260a2d5043b3f9dbb2
treedf424831b8b19e7a5c2498e2ea85f4f5c35113fe
parentc2286092424bf5f889f302669580fd6862967a49
phy: cadence-torrent: register resets even if the phy is already configured

Resets are needed during suspend and resume stages.
So they shall be registered during the probe even the phy is already
initialized.

The function cdns_torrent_reset is renamed cdns_torrent_of_get_reset() to
make it clear.

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