]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: cadence-torrent: remove noop_ops phy operations
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 16 Apr 2024 12:52:36 +0000 (14:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 3 Jun 2024 13:47:01 +0000 (19:17 +0530)
commit81472a55edce473cfc22b340c1026c6d5219ccfe
treeb2bf29c379e8978d978e113794ed306142256a56
parentd4f24d14f311b9a1af57c9726d5a3acbfa8282db
phy: cadence-torrent: remove noop_ops phy operations

Even if a PHY is already configured, the PHY operations are needed during
resume stage, as the PHY is in reset state.
The noop_ops PHY operations is removed to always have PHY operations.
The already_configured flag is checked at the begening of init, configure
and poweron operations to keep the already_configured behaviour.

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