TencentOS-kernel/drivers/usb
Chunfeng Yun 9e3c1faaf1 usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
commit 54f6a8af372213a254af6609758d99f7c0b6b5ad upstream.

For those unchecked endpoints, we don't allocate bandwidth for
them, so no need free the bandwidth, otherwise will decrease
the allocated bandwidth.
Meanwhile use xhci_dbg() instead of dev_dbg() to print logs and
rename bw_ep_list_new as bw_ep_chk_list.

Fixes: 1d69f9d901ef ("usb: xhci-mtk: fix unreleased bandwidth data")
Cc: stable <stable@vger.kernel.org>
Reviewed-and-tested-by: Ikjoon Jang <ikjn@chromium.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1612159064-28413-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-12 12:51:54 +08:00
..
atm Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2021-03-16 16:32:07 +08:00
cdns3 usb: cdns3: gadget: suspicious implicit sign extension 2021-03-16 16:40:27 +08:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-04-12 12:51:11 +08:00
class USB: usblp: don't call usb_set_interface if there's a single alt 2021-04-12 12:51:54 +08:00
common Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
core USB: add RESET_RESUME quirk for Snapscan 1212 2021-03-16 16:42:19 +08:00
dwc2 usb: dwc2: Fix endpoint direction check in ep_from_windex 2021-04-12 12:51:54 +08:00
dwc3 usb: dwc3: fix clock issue during resume in OTG mode 2021-04-12 12:51:54 +08:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2021-03-16 16:26:55 +08:00
gadget USB: gadget: legacy: fix an error code in eth_bind() 2021-04-12 12:51:54 +08:00
host usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints 2021-04-12 12:51:54 +08:00
image Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
isp1760 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
misc USB: yurex: fix control-URB timeout handling 2021-04-12 12:51:12 +08:00
mon Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2021-03-16 16:42:31 +08:00
musb usb: musb: Fix runtime PM imbalance on error 2021-03-16 16:28:52 +08:00
phy usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()' 2021-03-16 16:28:29 +08:00
renesas_usbhs usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop() 2021-04-12 12:51:54 +08:00
roles Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
serial USB: serial: option: Adding support for Cinterion MV31 2021-04-12 12:51:52 +08:00
storage usb: uas: Add PNY USB Portable SSD to unusual_uas 2021-04-12 12:51:11 +08:00
typec usb: typec: Fix copy paste error for NVIDIA alt-mode description 2021-04-12 12:51:25 +08:00
usbip usb: usbip: vhci_hcd: protect shift size 2021-04-12 12:51:11 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
usb-skeleton.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00