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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 10:05:40 +0000 (12:05 +0200)
commit9f93881804aa07274d9cc1f2501e8da1c9e98bce
tree02109e5e1e80a17b2cce3d12e3c9c9abfef9f5cd
parent72edc9d3f83bae3a152402fb8a46bab3c86ece3f
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI

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>
drivers/usb/host/xhci-mtk.c