summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-07-29 21:02:08 +0800
committersakumisu <[email protected]>2022-07-29 21:02:08 +0800
commit139c2307f9d6e346943caf388dadf2be930f540a (patch)
tree6e632295bd45feae30a809eb244e8a15e3a9e886
parent0593ad95af38ace00d2c33033f634a676c4e8f6e (diff)
change flush to writeback
-rw-r--r--port/hpm/usb_dc_hpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/port/hpm/usb_dc_hpm.c b/port/hpm/usb_dc_hpm.c
index 67af43ea..32fdbe69 100644
--- a/port/hpm/usb_dc_hpm.c
+++ b/port/hpm/usb_dc_hpm.c
@@ -154,7 +154,7 @@ int usbd_ep_start_write(const uint8_t ep, const uint8_t *data, uint32_t data_len
#ifdef CONFIG_USB_DCACHE_ENABLE
if (data_len != 0) {
uint32_t align_len = USB_ALIGN(data_len, CONFIG_DCACHE_LINE_SIZE);
- l1c_dc_flush((uint32_t)data, align_len);
+ l1c_dc_writeback((uint32_t)data, align_len);
}
#endif
usb_device_edpt_xfer(handle, ep, data, data_len);