]> git.baikalelectronics.ru Git - uboot.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)
commit2505b09b78986c2ea2d2cebb1a00651de2b1196f
treedffb53c314135e733235bf06b79ca5201fb3b9bc
parent666546f6ea6f914f6050d39b793fa85472e75841
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