Skip to content
Commit 32d174d2 authored by Tang Bin's avatar Tang Bin Committed by Greg Kroah-Hartman
Browse files

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



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: 79ad3b5a ("usb: host: Add EHCI driver for NVIDIA Tegra SoCs")
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20201026090657.49988-1-tangbin@cmss.chinamobile.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9c6f782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment