]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci-mtk: remove bandwidth budget table
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 12 May 2022 06:49:31 +0000 (14:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 16:35:38 +0000 (18:35 +0200)
commit5372f744a128197749c414f0607272330d1b9ac5
treeae32720270d2181ba3503aca5faac4961ab8135d
parentc19beec32d533b9d3827ef2e6ee6492c6633d975
usb: xhci-mtk: remove bandwidth budget table

The bandwidth budget table is introduced to trace ideal bandwidth used
by each INT/ISOC endpoint, but in fact the endpoint may consume more
bandwidth and cause data transfer error, so it's better to leave some
margin. Obviously it's difficult to find the best margin for all cases,
instead take use of the worst-case scenario.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220512064931.31670-2-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk-sch.c
drivers/usb/host/xhci-mtk.h