summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2023-11-18 06:30:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-21 17:31:25 +0300
commit61d2cf0db741827724d33079b4a54bf99a32b8e5 (patch)
treec80e9a76bfa711a87a9cff8b89e600f71ef4433b /scripts/gcc-plugins/randomize_layout_plugin.c
parent8bbae288a85abed6a1cf7d185d8b9dc2f5dcb12c (diff)
downloadlinux-61d2cf0db741827724d33079b4a54bf99a32b8e5.tar.xz
usb: xhci-mtk: fix in-ep's start-split check failure
It's wrong to use the data length in a CS (in uframe x) to check whether there is a SS (in uframe x-2), because for a isoc-in ep, it may need some CS to receive data; Save the count of SS in a uframe for isoc/intr in-eps to fix the issue. Fixes: 5c954e030f55 ("usb: xhci-mtk: improve split scheduling by separate IN/OUT budget") Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/20231118033011.22033-1-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions