]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit462438b81f7d3c9b6b20ec57ce6390033aad7405
tree9fde034cda46c480aaf41863a23294fd8574bfe1
parentf6caf40bd4bd0bf5654ea0ca8ae4aa977d7bf731
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 f31998fd0f1b25b9c14fecfb57d36fa54fc3bf04.

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