Re: [PATCH V4 5/6] PCI: tegra: Check return value of tegra_pcie_init_controller()

From: Thierry Reding
Date: Thu Nov 26 2020 - 06:35:04 EST


On Mon, Nov 09, 2020 at 10:49:36PM +0530, Vidya Sagar wrote:
> The return value of tegra_pcie_init_controller() must be checked before
> PCIe link up check and registering debugfs entries subsequently as it
> doesn't make sense to do these when the controller initialization itself
> has failed.
>
> Signed-off-by: Vidya Sagar <vidyas@xxxxxxxxxx>
> ---
> V4:
> * None
>
> V3:
> * New patch in this series
>
> drivers/pci/controller/dwc/pcie-tegra194.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)

Tested-by: Thierry Reding <treding@xxxxxxxxxx>
Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature