summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2024-10-11 16:38:24 +0200
committerMattijs Korpershoek <[email protected]>2024-10-15 11:03:56 +0200
commit1f12fc7e3350b179d17efaf5ba00fc3683cf33ec (patch)
treee28098ab347fb2380efd61dea147db732e3449f8 /scripts
parentc54c72dec7948093b200ae1290575a1e9abbbb40 (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