]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:47:10 +0000 (07:47 +0200)
commitc8cbb6179cabba9e59fb2af695a7e923cc5fa6b8
treeccf9b0b11bc5ca9d4dc18cd7d13622a91ecdd0b0
parentfc053d2df4a21af485e4903c417055b1c9dc4d02
phy: freescale: imx8m-pcie: Add one missing error return

commit b574baa64cf84e7793fe79f4491ae36c16e65a0b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/freescale/phy-fsl-imx8m-pcie.c