summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-06-02 19:47:08 +0800
committerSasha Levin <sashal@kernel.org>2020-06-29 20:07:59 -0400
commite79d2f7c853b52c36d68a5fa36456724e239dd65 (patch)
treec21f26e2d8ebb0c605d7d41b6ac99feacb40921b /drivers/usb/class/cdc-acm.c
parent1805eda1b533b07350a18a1a47c9624e458b4ad1 (diff)
usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
commit 44ed240d62736ad29943ec01e41e194b96f7c5e9 upstream. 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 <stable@vger.kernel.org> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20200602114708.28620-1-tangbin@cmss.chinamobile.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions