diff options
| author | Neil Armstrong <[email protected]> | 2024-10-11 16:38:24 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-21 15:27:33 -0600 |
| commit | ef6f4f8e3c0de80f5f6dc4a77d6b18078e6fd2df (patch) | |
| tree | 1e0a0b15331c7463fe753f965155b27226cc524c /include/debug_uart.h | |
| parent | ddbcafeb53e7093c58488596bfce6d8823777c3a (diff) | |
usb: dwc3: allocate setup_buf with dma_alloc_coherent()
Since setup_buf is also consumed by hardware DMA, aligns it's
allocation like other hardware buffers by introduce setup_buf_addr
populated by dma_alloc_coherent(), and use it to pass the physical
address of the buffer to the hardware.
Reviewed-by: Mattijs Korpershoek <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'include/debug_uart.h')
0 files changed, 0 insertions, 0 deletions
