diff options
| author | Neil Armstrong <[email protected]> | 2024-10-11 16:38:24 +0200 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2024-10-15 11:03:56 +0200 |
| commit | 1f12fc7e3350b179d17efaf5ba00fc3683cf33ec (patch) | |
| tree | e28098ab347fb2380efd61dea147db732e3449f8 /scripts | |
| parent | c54c72dec7948093b200ae1290575a1e9abbbb40 (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]>
Link: https://lore.kernel.org/r/20241011-u-boot-dwc3-gadget-dcache-fixup-v4-1-5f3498d8035b@linaro.org
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
