mbox series

[v3,0/6] RK3399: PCie Phy using new helper function

Message ID 20241012071919.3726-1-linux.amoon@gmail.com (mailing list archive)
Headers show
Series RK3399: PCie Phy using new helper function | expand

Message

Anand Moon Oct. 12, 2024, 7:19 a.m. UTC
Few clean of the phy change and Using guard notation makes the code 
more compact and error handling for mutex_lock/mutex_unlock.

Plz review te code changes, I tend to do silly mistake.

v1:
[1] https://lore.kernel.org/all/20240901183221.240361-5-linux.amoon@gmail.com/
v2: Fix some typo in the subjects.
[2] https://lore.kernel.org/all/20241006182445.3713-1-linux.amoon@gmail.com/

Thanks
-Anand

Anand Moon (6):
  phy: rockchip-pcie: Simplify error handling with dev_err_probe()
  phy: rockchip-pcie: Use devm_clk_get_enabled() helper
  phy: rockchip-pcie: Use regmap_read_poll_timeout() for PCIe reference
    clk PLL status
  phy: rockchip-pcie: Refactor mutex handling in
    rockchip_pcie_phy_power_off()
  phy: rockchip-pcie: Refactor mutex handling in
    rockchip_pcie_phy_power_on()
  phy: rockchip-pcie: Use guard notation when acquiring mutex

 drivers/phy/rockchip/phy-rockchip-pcie.c | 148 +++++++----------------
 1 file changed, 47 insertions(+), 101 deletions(-)


base-commit: 09f6b0c8904bfaa1e0601bc102e1b6aa6de8c98f