]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: cadence-torrent: extract calls to clk_get from cdns_torrent_clk
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 16 Apr 2024 12:52:33 +0000 (14:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 3 Jun 2024 13:47:01 +0000 (19:17 +0530)
commitc2286092424bf5f889f302669580fd6862967a49
tree7f4805a9696337c1187577403d328abac242ee18
parentb5539abdd013fd3f77633413848c93f8ec84b51d
phy: cadence-torrent: extract calls to clk_get from cdns_torrent_clk

Extract calls to clk_get from cdns_torrent_clk into a separate function.
It needs to call cdns_torrent_clk at resume without looking up the clock.

Co-developed-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20240412-j7200-phy-s2r-v1-4-f15815833974@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-torrent.c