Searched hist:"10076 de33b5ed5b1e049593a611d2fd9eba60565" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.h | diff 10076de33b5ed5b1e049593a611d2fd9eba60565 Wed Apr 07 01:36:29 CDT 2021 Pawel Laszczak <pawell@cadence.com> usb: cdnsp: Fixes issue with Configure Endpoint command
Patch adds flag EP_UNCONFIGURED to detect whether endpoint was unconfigured. This flag is set in cdnsp_reset_device after Reset Device command. Among others this command disables all non control endpoints. Flag is used in cdnsp_gadget_ep_disable to protect controller against invoking Configure Endpoint command on disabled endpoint. Lack of this protection in some cases caused that Configure Endpoint command completed with Context State Error code completion.
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver") Signed-off-by: Pawel Laszczak <pawell@cadence.com> Signed-off-by: Peter Chen <peter.chen@kernel.org>
|
H A D | cdnsp-gadget.c | diff 10076de33b5ed5b1e049593a611d2fd9eba60565 Wed Apr 07 01:36:29 CDT 2021 Pawel Laszczak <pawell@cadence.com> usb: cdnsp: Fixes issue with Configure Endpoint command
Patch adds flag EP_UNCONFIGURED to detect whether endpoint was unconfigured. This flag is set in cdnsp_reset_device after Reset Device command. Among others this command disables all non control endpoints. Flag is used in cdnsp_gadget_ep_disable to protect controller against invoking Configure Endpoint command on disabled endpoint. Lack of this protection in some cases caused that Configure Endpoint command completed with Context State Error code completion.
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver") Signed-off-by: Pawel Laszczak <pawell@cadence.com> Signed-off-by: Peter Chen <peter.chen@kernel.org>
|