linux-stable/drivers/usb/host
Chunfeng Yun 58cace45f8 usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
commit 6f978a30c9 upstream.

The MediaTek 0.96 xHCI controller on some platforms does not
support bulk stream even HCCPARAMS says supporting, due to MaxPSASize
is set a default value 1 by mistake, here use XHCI_BROKEN_STREAMS
quirk to fix it.

Fixes: 94a631d91a ("usb: xhci-mtk: check hcc_params after adding primary hcd")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1616482975-17841-4-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-07 14:47:43 +02:00
..
bcma-hcd.c
ehci-atmel.c
ehci-dbg.c
ehci-exynos.c usb: host: ehci-exynos: Fix error check in exynos_ehci_probe() 2020-06-30 15:36:49 -04:00
ehci-fsl.c
ehci-fsl.h
ehci-grlib.c
ehci-hcd.c ehci: fix EHCI host controller initialization sequence 2021-01-27 11:47:50 +01:00
ehci-hub.c USB: ehci: fix an interrupt calltrace error 2021-01-27 11:47:50 +01:00
ehci-mem.c
ehci-mv.c USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int 2020-10-01 13:18:02 +02:00
ehci-mxc.c USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe() 2020-06-24 17:50:29 +02:00
ehci-npcm7xx.c
ehci-omap.c usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe 2020-12-30 11:51:22 +01:00
ehci-orion.c
ehci-pci.c USB: ehci: reopen solution for Synopsys HC bug 2020-06-30 15:36:48 -04:00
ehci-platform.c Revert "usb/ehci-platform: Set PM runtime as active on resume" 2020-07-22 09:32:56 +02:00
ehci-pmcmsp.c
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c USB: EHCI: Do not return -EPIPE when hub is disconnected 2019-12-31 16:46:07 +01:00
ehci-sched.c
ehci-sh.c
ehci-spear.c
ehci-st.c
ehci-sysfs.c
ehci-tegra.c
ehci-timer.c
ehci-xilinx-of.c
ehci.h
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fotg210-hcd.c
fotg210.h
fsl-mph-dr-of.c usb: host: fsl-mph-dr-of: check return of dma_set_mask() 2020-11-05 11:43:29 +01:00
imx21-dbg.c
imx21-hcd.c
imx21-hcd.h
isp116x-hcd.c
isp116x.h
isp1362-hcd.c
isp1362.h
Kconfig USB changes for 5.4-rc1 2019-09-18 10:33:46 -07:00
Makefile
max3421-hcd.c usb/max3421: fix return error code in max3421_probe() 2020-12-30 11:51:09 +01:00
ohci-at91.c
ohci-da8xx.c usb: ohci-da8xx: ensure error return on variable error is set 2020-01-14 20:08:29 +01:00
ohci-dbg.c
ohci-exynos.c usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe() 2020-09-03 11:27:08 +02:00
ohci-hcd.c usb: ohci: Make distrust_firmware param default to false 2021-01-23 15:57:54 +01:00
ohci-hub.c
ohci-mem.c
ohci-nxp.c
ohci-omap.c
ohci-pci.c
ohci-platform.c Revert "usb/ohci-platform: Fix a warning when hibernating" 2020-07-22 09:32:55 +02:00
ohci-ppc-of.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci-sm501.c USB: ohci-sm501: Add missed iounmap() in remove 2020-06-30 15:36:48 -04:00
ohci-spear.c
ohci-st.c
ohci-tmio.c usb/ohci-tmio: remove the HCD_DMA flag 2019-09-03 15:26:05 +02:00
ohci.h
oxu210hp-hcd.c usb: oxu210hp-hcd: Fix memory leak in oxu_create 2020-12-30 11:51:22 +01:00
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c
r8a66597.h
sl811-hcd.c
sl811.h
sl811_cs.c
ssb-hcd.c
u132-hcd.c
uhci-debug.c
uhci-grlib.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-pci.c
uhci-platform.c
uhci-q.c
xhci-dbg.c
xhci-dbgcap.c
xhci-dbgcap.h
xhci-dbgtty.c usb: xhci: dbc: Use GFP_KERNEL instead of GFP_ATOMIC in 'xhci_dbc_alloc_requests()' 2019-09-03 15:49:11 +02:00
xhci-debugfs.c usb: host: xhci: fix ep context print mismatch in debugfs 2020-09-03 11:27:04 +02:00
xhci-debugfs.h
xhci-ext-caps.c xhci-ext-caps.c: Add missing platform_device_put() on error in xhci_create_intel_xhci_sw_pdev() 2019-10-04 14:37:53 +02:00
xhci-ext-caps.h
xhci-histb.c xhci: hisilicon: fix refercence leak in xhci_histb_probe 2020-11-18 19:20:29 +01:00
xhci-hub.c xhci: Give USB2 ports time to enter U3 in bus suspend 2020-12-21 13:27:06 +01:00
xhci-mem.c xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0 2020-04-29 16:33:03 +02:00
xhci-mtk-sch.c usb: xhci-mtk: break loop when find the endpoint to drop 2021-02-10 09:25:29 +01:00
xhci-mtk.c usb: xhci-mtk: fix broken streams issue on 0.96 xHCI 2021-04-07 14:47:43 +02:00
xhci-mtk.h usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints 2021-02-10 09:25:29 +01:00
xhci-mvebu.c usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 2021-02-10 09:25:33 +01:00
xhci-mvebu.h usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 2021-02-10 09:25:33 +01:00
xhci-pci.c usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing 2021-03-17 17:03:50 +01:00
xhci-plat.c usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 2021-02-10 09:25:33 +01:00
xhci-plat.h usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720 2021-02-10 09:25:33 +01:00
xhci-rcar.c usb: host: xhci-rcar: Use xhci_plat_priv.quirks instead of code settings 2019-09-03 15:53:27 +02:00
xhci-rcar.h usb: host: xhci-rcar: Use xhci_plat_priv.quirks instead of code settings 2019-09-03 15:53:27 +02:00
xhci-ring.c usb: xhci: do not perform Soft Retry for some xHCI hosts 2021-03-17 17:03:50 +01:00
xhci-tegra.c xhci: tegra: Delay for disabling LFPS detector 2021-01-27 11:47:51 +01:00
xhci-trace.c
xhci-trace.h xhci: Do not open code __print_symbolic() in xhci trace events 2020-03-25 08:25:56 +01:00
xhci.c xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state 2021-03-17 17:03:50 +01:00
xhci.h usb: xhci: do not perform Soft Retry for some xHCI hosts 2021-03-17 17:03:50 +01:00