acrn-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
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
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
phy
renesas_usbhs
roles
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