usb: ehci: Implement V2P mapping
authorMarek Vasut <marex@denx.de>
Sat, 23 Jan 2016 20:04:46 +0000 (21:04 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 24 Feb 2016 18:12:32 +0000 (19:12 +0100)
commitcf7c93cdd75570fe6f75d04177b94a84146f5e46
tree65bc8b12804a34f3289603db6ce6665455548b1e
parent643cacb6d6d5a9f3adbf294a390537d53208fd79
usb: ehci: Implement V2P mapping

Certain processor architectures, like MIPS, require that the USB
structures and transfer buffers are passed with their PA to the
USB controller. If VA is passed, the USB will not work. Add the
necessary virt_to_phys() calls into the USB EHCI code to make it
work.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ehci-hcd.c