WSL2-Linux-Kernel/drivers/usb
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
..
atm
c67x00
cdns3 usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config 2023-07-25 17:46:28 +02:00
chipidea usb: chipidea: imx: add missing USB PHY DPDM wakeup setting 2023-06-13 12:05:42 +02:00
class
common USB / Thunderbolt driver updates for 6.5-rc1 2023-07-03 13:23:10 -07:00
core USB: quirks: add quirk for Focusrite Scarlett 2023-07-25 17:41:22 +02:00
dwc2 usb: dwc2/platform: Convert to platform remove callback returning void 2023-05-30 15:27:17 +01:00
dwc3 usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy 2023-07-27 10:37:01 +02:00
early
fotg210
gadget usb: gadget: call usb_gadget_check_config() to verify UDC capability 2023-07-25 17:46:25 +02:00
host Revert "usb: xhci: tegra: Fix error check" 2023-07-25 17:44:10 +02:00
image
isp1760
misc usb: misc: ehset: fix wrong if condition 2023-07-27 10:37:30 +02:00
mon USB: mon: make mon_bin_class a static const structure 2023-06-20 16:20:45 +02:00
mtu3
musb Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" 2023-06-15 11:30:35 +02:00
phy usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
renesas_usbhs
roles USB: roles: make role_class a static const structure 2023-06-20 16:20:40 +02:00
serial USB: serial: simple: sort driver entries 2023-07-20 15:59:25 +02:00
storage
typec usb: typec: Use sysfs_emit_at when concatenating the string 2023-07-25 17:45:29 +02:00
usbip usbip: usbip_host: Replace strlcpy with strscpy 2023-06-23 09:54:32 +02:00
Kconfig
Makefile
usb-skeleton.c