]> www.infradead.org Git - users/dwmw2/linux.git/commit
phy: amlogic: phy-meson-axg-pcie: Fix PHY creation order in axg-pcie probe
authorAnand Moon <linux.amoon@gmail.com>
Thu, 10 Apr 2025 13:33:21 +0000 (19:03 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Apr 2025 11:37:15 +0000 (17:07 +0530)
commitbdeff6d8a211c832f5ce1a65aff17f4a5e6de00f
tree556e2e88230559774270c22c21c9817378235020
parentfef364bd4c9cf712c91e0013f5f304f4e7f09198
phy: amlogic: phy-meson-axg-pcie: Fix PHY creation order in axg-pcie probe

Reorder the PHY creation in the axg-pcie probe function to ensure all
the resource is mapped before creating the PHY. This change addresses
the issue where the PHY creation was attempted before
mapping the necessary resources, potentially causing failures.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250410133332.294556-7-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson-axg-pcie.c