android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold af7414836d USB: serial: keyspan_pda: fix write unthrottling
commit 320f9028c7873c3c7710e8e93e5c979f4c857490 upstream.

The driver did not update its view of the available device buffer space
until write() was called in task context. This meant that write_room()
would return 0 even after the device had sent a write-unthrottle
notification, something which could lead to blocked writers not being
woken up (e.g. when using OPOST).

Note that we must also request an unthrottle notification is case a
write() request fills the device buffer exactly.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-12-30 11:51:37 +01:00
..
atm
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2020-07-22 09:33:09 +02:00
cdns3 usb: cdns3: gadget: suspicious implicit sign extension 2020-11-10 12:37:31 +01:00
chipidea usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul 2020-12-30 11:50:58 +01:00
class usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode 2020-11-18 19:20:29 +01:00
common
core USB: add RESET_RESUME quirk for Snapscan 1212 2020-12-21 13:27:05 +01:00
dwc2 usb: dwc2: Fix INTR OUT transfers in DDMA mode. 2020-10-29 09:57:44 +01:00
dwc3 usb: dwc3: pci: add support for the Intel Alder Lake-S 2020-11-18 19:20:21 +01:00
early
gadget USB: gadget: f_rndis: fix bitrate for SuperSpeed and above 2020-12-30 11:50:58 +01:00
host usb: oxu210hp-hcd: Fix memory leak in oxu_create 2020-12-30 11:51:22 +01:00
image
isp1760
misc USB: sisusbvga: Make console support depend on BROKEN 2020-12-21 13:27:06 +01:00
mon
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-30 11:50:58 +01:00
musb
phy
renesas_usbhs usb: renesas_usbhs: getting residue from callback_result 2020-06-30 15:37:00 -04:00
roles
serial USB: serial: keyspan_pda: fix write unthrottling 2020-12-30 11:51:37 +01:00
storage USB: UAS: introduce a quirk to set no_write_same 2020-12-21 13:27:06 +01:00
typec usb: typec: tcpm: reset hard_reset_count for any disconnect 2020-11-05 11:43:28 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c