diff options
| author | Tang Bin <[email protected]> | 2020-10-26 09:06:57 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-28 12:23:07 +0000 |
| commit | 32d174d2d5eb318c34ff36771adefabdf227c186 (patch) | |
| tree | 9ab56fe3e239b8ee9b8f0ed8e744bb4b0015e80e /drivers/usb/core/generic.c | |
| parent | usb: typec: stusb160x: fix an IS_ERR() vs NULL check in probe (diff) | |
| download | kernel-32d174d2d5eb318c34ff36771adefabdf227c186.tar.gz kernel-32d174d2d5eb318c34ff36771adefabdf227c186.zip | |
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: 79ad3b5add4a ("usb: host: Add EHCI driver for NVIDIA Tegra SoCs")
Acked-by: Alan Stern <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Tang Bin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/generic.c')
0 files changed, 0 insertions, 0 deletions
