diff options
| author | Tom Rini <[email protected]> | 2021-11-03 09:42:45 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-03 09:42:45 -0400 |
| commit | bc18582a1471384e3c4584dfd17f48a91c88445d (patch) | |
| tree | 454c6a5e4aea4e381b36723bb5e0d4b3e40edf1a /drivers | |
| parent | 0bf6563a3e39baeaf6d2cbe4d256bce4f679ad00 (diff) | |
| parent | 2c4f21763d7132bc355d343347032bd6d2f199f4 (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-usb
- usb: mtu3: flush cache for the first GPD when allocate GPD ring
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/mtu3/mtu3_qmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/mtu3/mtu3_qmu.c b/drivers/usb/mtu3/mtu3_qmu.c index 95eaf6d2365..e8dc0095ab5 100644 --- a/drivers/usb/mtu3/mtu3_qmu.c +++ b/drivers/usb/mtu3/mtu3_qmu.c @@ -112,6 +112,7 @@ int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) memset(gpd, 0, QMU_GPD_RING_SIZE); ring->dma = (dma_addr_t)gpd; gpd_ring_init(ring, gpd); + mtu3_flush_cache((uintptr_t)gpd, sizeof(*gpd)); return 0; } |
