aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2018-06-29 18:48:15 +0000
committerBjorn Helgaas <[email protected]>2018-06-29 18:48:54 +0000
commit3c5777c372b6eb2e17802b3dc4bd5ebea45d9bcc (patch)
tree9ba3e19efe558cfbabe5b4fbdcaf92a2b2fadf62 /drivers/pci/controller/dwc/pci-layerscape.c
parentPCI: rcar: Shut the PHY down in failpath (diff)
downloadkernel-3c5777c372b6eb2e17802b3dc4bd5ebea45d9bcc.tar.gz
kernel-3c5777c372b6eb2e17802b3dc4bd5ebea45d9bcc.zip
PCI: rcar: Clean up PHY init on failure
If the Gen3 PHY fails to power up, the code does not undo the initialization caused by phy_init(). Add the missing failure handling to the rcar_pcie_phy_init_gen3() function. Fixes: 517ca93a7159 ("PCI: rcar: Add R-Car gen3 PHY support") Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Simon Horman <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Phil Edworthy <[email protected]> Cc: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions