diff options
author | Tang Bin <[email protected]> | 2020-06-02 19:47:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-06-18 10:40:57 +0200 |
commit | 44ed240d62736ad29943ec01e41e194b96f7c5e9 (patch) | |
tree | 08b5247596a11be0b5acbdccd2a8b95d78408bd7 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 130206a88683d859f63ed6d4a56ab5c2b4930c8e (diff) |
usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
If the function platform_get_irq() failed, the negative value
returned will not be detected here. So fix error handling in
exynos_ehci_probe(). And when get irq failed, the function
platform_get_irq() logs an error message, so remove redundant
message here.
Fixes: 1bcc5aa87f04 ("USB: Add initial S5P EHCI driver")
Cc: stable <[email protected]>
Signed-off-by: Zhang Shengju <[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/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions