commit | bd5e3caba56d89b079cb5c7df5405012023419bc | [log] [tgz] |
---|---|---|
author | Neil Armstrong <neil.armstrong@linaro.org> | Fri Oct 11 16:38:24 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 21 15:27:33 2024 -0600 |
tree | 1e0a0b15331c7463fe753f965155b27226cc524c | |
parent | 069fdc04a4202cb2bb300a2f3384ce192ccb783e [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 <mkorpershoek@baylibre.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>