usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 31 Mar 2021 09:05:52 +0000 (17:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Apr 2021 13:56:49 +0000 (15:56 +0200)
commit1f743c8749eacd906dd3ce402b7cd540bb69ad3e
tree329aade32aee9f174deb5307ed28a084d837796c
parent967f6d162d9fa415cf140d3eef5576d566632292
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI

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/1617181553-3503-3-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c