Re: [PATCH] usb: host: ehci-tegra: Fix error handling in tegra_ehci_probe()

2020-10-27 Thread Thierry Reding
On Mon, Oct 26, 2020 at 05:06:57PM +0800, Tang Bin wrote: > If the function platform_get_irq() failed, the negative value > returned will not be detected here. So fix error handling in > tegra_ehci_probe(). > > Fixes: 79ad3b5add4a ("usb: host: Add EHCI driver for NVIDIA Tegra SoCs") > Signed-off-b

Re: [PATCH] usb: host: ehci-tegra: Fix error handling in tegra_ehci_probe()

2020-10-26 Thread Alan Stern
On Mon, Oct 26, 2020 at 05:06:57PM +0800, Tang Bin wrote: > If the function platform_get_irq() failed, the negative value > returned will not be detected here. So fix error handling in > tegra_ehci_probe(). > > Fixes: 79ad3b5add4a ("usb: host: Add EHCI driver for NVIDIA Tegra SoCs") > Signed-off-b

[PATCH] usb: host: ehci-tegra: Fix error handling in tegra_ehci_probe()

2020-10-26 Thread Tang Bin
If the function platform_get_irq() failed, the negative value returned will not be detected here. So fix error handling in tegra_ehci_probe(). Fixes: 79ad3b5add4a ("usb: host: Add EHCI driver for NVIDIA Tegra SoCs") Signed-off-by: Tang Bin --- drivers/usb/host/ehci-tegra.c | 6 +++--- 1 file cha