summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2020-07-21 10:46:05 +0200
committerMarek Vasut <[email protected]>2020-08-05 09:30:46 +0200
commitb5152a653d36c67a34b54c4c1e9eb182e7e5b9d6 (patch)
tree65d623d98b25cfbcc0fa1d047398e3e93ef1f917 /include/linux/kernel.h
parentd96f6e1c0b49eb94f78b662e828e557ba943ee54 (diff)
usb: xhci: Add virt_to_phys() to support mapped platforms
Some platforms, like MIPS Octeon, use mapped addresses (virtual address != physical address). On these platforms we need to make sure, that the local virtual addresses are converted to physical (DMA) addresses for the xHCI controller. This patch adds the missing virt_to_phys() calls, so that the correct addresses are used. Signed-off-by: Stefan Roese <[email protected]> Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> Cc: Bin Meng <[email protected]> Cc: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions