On Thu, Jan 11, 2018 at 11:38:05AM +0530, Manikanta Maddireddy wrote: > tegra_pcie_probe() can fail in multiple instances, this patch takes care > of freeing the resources which are allocated before probe fail. > > Signed-off-by: Manikanta Maddireddy > --- > V2: > * no change in this patch > V3: > * change 'if check' to 'legacy_phy is true' for tegra_pcie_phys_put_legacy() > * commit log correction > V4: > * no change in this patch > V5: > * Decoupled from https://patchwork.ozlabs.org/patch/832053/ and > rebased on linux-next > V6: > * no change in this patch > > drivers/pci/host/pci-tegra.c | 99 +++++++++++++++++++++++++++++++++++--------- > 1 file changed, 79 insertions(+), 20 deletions(-) Acked-by: Thierry Reding