android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ray Chi f02f5b9cdd ANDROID: usb: dwc3: gadget: don't cancel the started requests
Currently, there is an application on Mac that it will send
ClearFeature(halt_ep) request before transfering USB data.

If the device receives the ClearFeature(halt_ep) request, the
started requests would be removed and restart the transfer.
However, userspace services don't know this behavior. The services
will free the requests instead of retry and resend the requests.

It will cause the USB host can't get response so that it will try
to recover by issuing a reset signal.

Finally, it will take the infinite loop.
send reqeust > reset > re-enumeration > send request > reset > ...

To avoid this symptom, this patch will keep the started requests
so that userspace services didn't free the requests.

Bug: 178904115
Bug: 177879761
Signed-off-by: Ray Chi <[email protected]>
Change-Id: I52acf48871fd7f86cfcc51fb41c67d21ea895d69
Signed-off-by: Saravana Kannan <[email protected]>
Git-commit: 92de566762db61b138765a26e4afaacc7d7f7816
Git-Repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Udipto Goswami <[email protected]>
2021-06-18 01:49:09 -07:00
..
atm
c67x00
cdns3
chipidea usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul 2020-12-30 11:50:58 +01:00
class
common
core Merge "usb: core: Do not choose configuration if actconfig is valid" 2021-05-24 01:29:36 -07:00
dwc2
dwc3 ANDROID: usb: dwc3: gadget: don't cancel the started requests 2021-06-18 01:49:09 -07:00
early
gadget usb: qti_gadget: Select LLCC TCM memory for USB RMNET IN buffers 2021-05-25 16:41:31 -07:00
host usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable 2021-05-13 11:40:05 +05:30
image
isp1760
misc usb: misc: nb7vpq904m: fix disconnect api 2021-05-14 12:50:58 +08:00
mon
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-30 11:50:58 +01:00
musb
pd
phy Merge "usb: phy: Drive a pulse on DP on CDP detection" 2021-05-12 23:55:15 -07:00
renesas_usbhs
roles
serial USB: serial: keyspan_pda: fix write unthrottling 2020-12-30 11:51:37 +01:00
storage
typec Merge "Merge android11-5.4.86+ (5d7dfa3) into msm-5.4" 2021-04-26 08:14:44 -07:00
usbip
Kconfig
Makefile
usb-skeleton.c