Re: [PATCH] PCI: rcar: Clean up PHY init on failure

2018-06-29 Thread Lorenzo Pieralisi
On Fri, May 25, 2018 at 08:33:26PM +0200, Marek Vasut wrote: > 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. > > Signed-off-by: Marek Vasut > Reported-by: Geert Uyt

Re: [PATCH] PCI: rcar: Clean up PHY init on failure

2018-05-28 Thread Simon Horman
On Fri, May 25, 2018 at 09:27:42PM +0200, Geert Uytterhoeven wrote: > CC Sergei > > On Fri, May 25, 2018 at 8:33 PM, Marek Vasut wrote: > > 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_

Re: [PATCH] PCI: rcar: Clean up PHY init on failure

2018-05-26 Thread Sergei Shtylyov
On 5/25/2018 9:33 PM, Marek Vasut wrote: 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. Signed-off-by: Marek Vasut Reported-by: Geert Uytterhoeven Cc: Geert Uytterho

Re: [PATCH] PCI: rcar: Clean up PHY init on failure

2018-05-25 Thread Geert Uytterhoeven
CC Sergei On Fri, May 25, 2018 at 8:33 PM, Marek Vasut wrote: > 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. > > Signed-off-by: Marek Vasut > Reported-by: Geert U

[PATCH] PCI: rcar: Clean up PHY init on failure

2018-05-25 Thread Marek Vasut
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. Signed-off-by: Marek Vasut Reported-by: Geert Uytterhoeven Cc: Geert Uytterhoeven Cc: Lorenzo Pieralisi Cc: Phil Edwort