atsam: Add data memory barrier to USB driver
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
parent
8a530cbcce
commit
52af688245
@ -32,6 +32,7 @@ usb_write_packet(uint32_t ep, const uint8_t *data, uint32_t len)
|
|||||||
uint8_t *dest = usb_fifo(ep);
|
uint8_t *dest = usb_fifo(ep);
|
||||||
while (len--)
|
while (len--)
|
||||||
*dest++ = *data++;
|
*dest++ = *data++;
|
||||||
|
__DMB();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user