diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-10-26 17:06:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 11:51:12 +0100 |
commit | 4da20d6e80a0559f972060c8791a6640ccb4760e (patch) | |
tree | b42cca1592e5bca038b88701f034e99255d36706 /kernel/futex.c | |
parent | 4028b426991952a2cc0f93fa23ae55a7c9292868 (diff) |
usb: host: ehci-tegra: Fix error handling in tegra_ehci_probe()
[ Upstream commit 32d174d2d5eb318c34ff36771adefabdf227c186 ]
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")
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20201026090657.49988-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions