android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zhang Qilong 57626d77ef xhci: hisilicon: fix refercence leak in xhci_histb_probe
commit 76255470ffa2795a44032e8b3c1ced11d81aa2db upstream.

pm_runtime_get_sync() will increment pm usage at first and it
will resume the device later. We should decrease the usage count
whetever it succeeded or failed(maybe runtime of the device has
error, or device is in inaccessible state, or other error state).
If we do not call put operation to decrease the reference, it will
result in reference leak in xhci_histb_probe. Moreover, this
device cannot enter the idle state and always stay busy or other
non-idle state later. So we fixed it by jumping to error handling
branch.

Fixes: c508f41da0 ("xhci: hisilicon: support HiSilicon STB xHCI host controller")
Signed-off-by: Zhang Qilong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-11-18 19:20:29 +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: core: add wakeup support for extcon 2020-07-22 09:33:10 +02: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 NO_LPM quirk for Kingston flash drive 2020-11-10 12:37:33 +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: goku_udc: fix potential crashes in probe 2020-11-18 19:20:21 +01:00
host xhci: hisilicon: fix refercence leak in xhci_histb_probe 2020-11-18 19:20:29 +01:00
image
isp1760
misc USB: adutux: fix debugging 2020-11-05 11:43:17 +01:00
mon
mtu3 usb: mtu3: fix panic in mtu3_gadget_stop() 2020-11-10 12:37:33 +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: option: add Telit FN980 composition 0x1055 2020-11-10 12:37:33 +01:00
storage USB: UAS: fix disconnect by unplugging a hub 2020-09-23 12:40:43 +02: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