linux-stable/drivers/usb/misc
Xu Yang 7f2327666a usb: misc: ehset: fix wrong if condition
A negative number from ret means the host controller had failed to send
usb message and 0 means succeed. Therefore, the if logic is wrong here
and this patch will fix it.

Fixes: f2b42379c5 ("usb: misc: ehset: Rework test mode entry")
Cc: stable <stable@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20230705095231.457860-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-27 10:37:30 +02:00
..
sisusbvga USB: sisusbvga: Add endpoint checks 2023-04-20 11:43:22 +02:00
adutux.c
apple-mfi-fastcharge.c
appledisplay.c
brcmstb-usb-pinmap.c
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c usb: misc: ehset: fix wrong if condition 2023-07-27 10:37:30 +02:00
emi26.c
emi62.c
ezusb.c
idmouse.c
iowarrior.c
isight_firmware.c
Kconfig usb: move config USB_USS720 to usb's misc Kconfig 2023-03-29 10:34:08 +02:00
ldusb.c
legousbtower.c
lvstest.c
Makefile usb: ftdi-elan: Delete driver 2023-03-21 16:31:59 +01:00
onboard_usb_hub.c usb: misc: onboard_hub: Don't warn twice about problems during remove 2023-05-30 15:27:17 +01:00
onboard_usb_hub.h usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub 2023-03-09 14:54:46 +01:00
onboard_usb_hub_pdevs.c
qcom_eud.c usb: misc: eud: Fix indentation issues 2023-05-29 15:55:18 +01:00
trancevibrator.c
usb251xb.c usb: usb251xb: Use of_property_read_u16() 2023-06-13 11:55:18 +02:00
usb3503.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
usb4604.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
usb_u132.h
usblcd.c
usbsevseg.c
usbtest.c
uss720.c
yurex.c