usb: xhci-mtk: modify the SOF/ITP interval for mt8195
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 17 Aug 2021 08:36:29 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 11:39:21 +0000 (13:39 +0200)
commit926d60ae64a623db3c1afcc524c23709615893d7
tree636ee78c239720bc88804fef81bae34559c110da
parent82799c80b46a151abc693b20ffea08bfba14be8e
usb: xhci-mtk: modify the SOF/ITP interval for mt8195

There are 4 USB controllers on MT8195, the controllers (IP1~IP3,
exclude IP0) have a wrong default SOF/ITP interval which is
calculated from the frame counter clock 24Mhz by default, but
in fact, the frame counter clock is 48Mhz, so we should set
the accurate interval according to 48Mhz for those controllers.
Note: the first controller no need set it.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1629189389-18779-9-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c