linux/drivers/usb
Xu Yang b24346a240 usb: chipidea: udc: check request status before setting device address
The complete() function may be called even though request is not
completed. In this case, it's necessary to check request status so
as not to set device address wrongly.

Fixes: 10775eb17b ("usb: chipidea: udc: update gadget states according to ch9")
cc: <stable@vger.kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20220623030242.41796-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-24 13:45:23 +02:00
..
atm
c67x00
cdns3 usb: cdnsp: Fixed setting last_trb incorrectly 2022-06-10 11:15:23 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-24 13:45:23 +02:00
class
common
core
dwc2 usb: dwc2: Fix memory leak in dwc2_hcd_init 2022-06-10 11:12:20 +02:00
dwc3 USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon is present" 2022-06-10 11:19:42 +02:00
early
gadget USB: gadget: Fix double-free bug in raw_gadget driver 2022-06-24 13:45:21 +02:00
host xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI 2022-06-23 16:27:28 +02:00
image
isp1760
misc
mon
mtu3
musb
phy
renesas_usbhs
roles
serial USB: serial: option: add Quectel RM500K module support 2022-06-23 13:58:05 +02:00
storage
typec usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC 2022-06-21 16:28:05 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c