]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci-mtk: add a function to (un)load bandwidth info
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 8 Mar 2021 02:51:55 +0000 (10:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:04:01 +0000 (11:04 +0200)
commitbeef6685fca1484de4f85cac070406da9bc8baa5
tree5c9c3d6b6eff70cfd046b19cc652b916fce749c9
parent62e92350b2bfe9bbc9b9d69a5d108ef35ef87d21
usb: xhci-mtk: add a function to (un)load bandwidth info

[ Upstream commit 09459aa337b8b1de675fb9b1246dbecd6b784e97 ]

Extract a function to load/unload bandwidth info, and remove
a dummy check of TT offset.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/6fbc000756a4a4a7efbce651b785fee7561becb6.1615170625.git.chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: f31998fd0f1b ("usb: xhci-mtk: relax TT periodic bandwidth allocation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/xhci-mtk-sch.c