android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET fa1547f6e4 usb: fotg210-hcd: Fix an error message
[ Upstream commit a60a34366e0d09ca002c966dd7c43a68c28b1f82 ]

'retval' is known to be -ENODEV here.
This is a hard-coded default error code which is not useful in the error
message. Moreover, another error message is printed at the end of the
error handling path. The corresponding error code (-ENOMEM) is more
informative.

So remove simplify the first error message.

While at it, also remove the useless initialization of 'retval'.

Fixes: 7d50195f6c ("usb: host: Faraday fotg210-hcd driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/94531bcff98e46d4f9c20183a90b7f47f699126c.1620333419.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-05-19 10:08:30 +02:00
..
atm
c67x00
cdns3 usb: cdns3: gadget: suspicious implicit sign extension 2020-11-10 12:37:31 +01:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-01-12 20:16:18 +01:00
class USB: cdc-acm: fix TIOCGSERIAL implementation 2021-05-14 09:44:21 +02:00
common
core usb: core: hub: Fix PM reference leak in usb_port_resume() 2021-05-11 14:04:07 +02:00
dwc2 usb: dwc2: Fix hibernation between host and device modes. 2021-05-14 09:44:23 +02:00
dwc3 usb: dwc3: gadget: Fix START_TRANSFER link state check 2021-05-11 14:04:17 +02:00
early
gadget usb: gadget: r8a66597: Add missing null check on return from platform_get_resource 2021-05-14 09:44:21 +02:00
host usb: fotg210-hcd: Fix an error message 2021-05-19 10:08:30 +02:00
image
isp1760
misc USB: yurex: fix control-URB timeout handling 2021-01-12 20:16:20 +01:00
mon
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-30 11:50:58 +01:00
musb usb: musb: fix PM reference leak in musb_irq_work() 2021-05-11 14:04:07 +02:00
phy
renesas_usbhs usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM 2021-03-17 17:03:50 +01:00
roles
serial USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check 2021-05-14 09:44:10 +02:00
storage usb-storage: Add quirk to defeat Kindle's automatic unload 2021-03-24 11:26:40 +01:00
typec usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS 2021-05-14 09:44:17 +02:00
usbip usbip: vudc: fix missing unlock on error in usbip_sockfd_store() 2021-05-14 09:44:22 +02:00
Kconfig
Makefile
usb-skeleton.c