OSDN Git Service

phy: freescale: imx8m-pcie: Add one missing error return
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 19 Dec 2022 07:12:21 +0000 (15:12 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Jan 2023 17:55:38 +0000 (23:25 +0530)
commitb574baa64cf84e7793fe79f4491ae36c16e65a0b
tree2ae0854e9f2cb3218fc71df789d579b384a3a201
parentd60c471a8670635b65b3d67b6e7aaa263d191cc3
phy: freescale: imx8m-pcie: Add one missing error return

There should be one error return when fail to fetch the perst reset.
Add the missing error return.

Fixes: dce9edff16ee ("phy: freescale: imx8m-pcie: Add i.MX8MP PCIe PHY support")

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/1671433941-2037-1-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-imx8m-pcie.c