aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2020-07-10 22:34:27 +0000
committerJuergen Gross <[email protected]>2020-08-04 05:54:58 +0000
commitd7b461caa6cc64dd190577b46b0ec892a8d5e7c0 (patch)
tree1935117b1aa0043017085b956acf461c56872a4b /drivers/usb/class/cdc-acm.c
parentxen/arm: introduce phys/dma translations in xen_dma_sync_for_* (diff)
downloadkernel-d7b461caa6cc64dd190577b46b0ec892a8d5e7c0.tar.gz
kernel-d7b461caa6cc64dd190577b46b0ec892a8d5e7c0.zip
xen/arm: call dma_to_phys on the dma_addr_t parameter of dma_cache_maint
dma_cache_maint is getting called passing a dma address which could be different from a physical address. Add a struct device* parameter to dma_cache_maint. Translate the dma_addr_t parameter of dma_cache_maint by calling dma_to_phys. Do it for the first page and all the following pages, in case of multipage handling. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Tested-by: Corey Minyard <[email protected]> Tested-by: Roman Shaposhnik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions