summaryrefslogtreecommitdiff
path: root/drivers/timer/tsc_timer.c
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2024-10-11 16:38:24 +0200
committerMattijs Korpershoek <mkorpershoek@baylibre.com>2024-10-15 11:03:56 +0200
commit1f12fc7e3350b179d17efaf5ba00fc3683cf33ec (patch)
treee28098ab347fb2380efd61dea147db732e3449f8 /drivers/timer/tsc_timer.c
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 <mkorpershoek@baylibre.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20241011-u-boot-dwc3-gadget-dcache-fixup-v4-1-5f3498d8035b@linaro.org Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/timer/tsc_timer.c')
0 files changed, 0 insertions, 0 deletions