]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: mtu3: flush cache for the first GPD when allocate GPD ring
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 21 Oct 2021 05:33:07 +0000 (13:33 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 3 Nov 2021 07:47:57 +0000 (08:47 +0100)
commit2c4f21763d7132bc355d343347032bd6d2f199f4
treedffb53c314135e733235bf06b79ca5201fb3b9bc
parentb8bfe05282c12fbf006957a2564127d3c1be3e78
usb: mtu3: flush cache for the first GPD when allocate GPD ring

When allocate the GPD ring, and tell its address to the controller, then
the driver starts or resumes the QMU, the controller will try to access
the first GPD, so need flush the first one to avoid wrong GPD status.

Reported-by: Xin Lin <Xin.Lin@mediatek.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/usb/mtu3/mtu3_qmu.c