]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: rockchip-pcie: Use regmap_read_poll_timeout() for PCIe reference clk PLL status
authorAnand Moon <linux.amoon@gmail.com>
Sat, 12 Oct 2024 07:19:05 +0000 (12:49 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Dec 2024 13:27:08 +0000 (18:57 +0530)
commitcb0ba26ad09398d3d0d10f518af4ccae69c8b64e
tree4dadfcac5834c19dcc96323545a39ee80aee9d51
parente96397db55e5fbe290ff1462ddf6c24ed94eb7df
phy: rockchip-pcie: Use regmap_read_poll_timeout() for PCIe reference clk PLL status

Replace open-coded phy PCIe reference clk PLL status polling with
regmap_read_poll_timeout API. This change simplifies the code without
altering functionality.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20241012071919.3726-4-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-pcie.c