]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 23 Mar 2021 07:02:46 +0000 (15:02 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:53 +0000 (15:42 -0500)
commitd52ceeb4bef61ff64b0390dad86aec955d0c7a7b
tree5470e4e884ae12b81181d1f7b348b7c62941380e
parentfae5ee5342eeac752b81dcdc653722ac55d97396
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI

BugLink: https://bugs.launchpad.net/bugs/1923069
commit 6f978a30c9bb12dab1302d0f06951ee290f5e600 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: 94a631d91ad3 ("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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/usb/host/xhci-mtk.c