Revert "usb: xhci-mtk: relax TT periodic bandwidth allocation"
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 20 Aug 2021 06:59:12 +0000 (14:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 11:34:05 +0000 (13:34 +0200)
commit76d55a633ab61e70cb56720830e7be3dec0842fe
tree9fde034cda46c480aaf41863a23294fd8574bfe1
parentde940244e8987a76d73fb2b0057ecd494cbfeefd
Revert "usb: xhci-mtk: relax TT periodic bandwidth allocation"

As discussed in following patch:
https://patchwork.kernel.org/patch/12420339

No need calculate number of uframes again, but should use value
form check_sch_tt(), if we plan to remove extra CS, also can do
it in check_sch_tt(). So revert this patch, and prepare to send
new patch for it.

This reverts commit 548011957d1d72e0b662300c8b32b81d593b796e.

Cc: Ikjoon Jang <ikjn@chromium.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210820065913.64490-1-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk-sch.c