]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci-mtk: add a member of num_esit
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 17 Aug 2021 08:36:28 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 11:39:21 +0000 (13:39 +0200)
commit17cdbebea67478675ebec992540dd2166d4a00fb
treed13e6c2af5cd5b52652751ebac615ed3f5e9f1e0
parent431b13250580f589dc93c63c3790fb64223a884f
usb: xhci-mtk: add a member of num_esit

Add a member num_esit to save the number of esit, then no need
caculate it in some functions.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1629189389-18779-8-git-send-email-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