usb: fsl_udc: Use dma_alloc_coherent() to get DMA address
Instead on relying virt_to_phys() to do virtual-to-physical address
conversion, make use of the fact that dma_alloc_coherent() can already
do that for us.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b082f2e commit 958bc6b0496b9a33cd740ada724df0f27f7265d8
@Andrey Smirnov Andrey Smirnov authored on 27 May 2019
Sascha Hauer committed on 28 May 2019
Showing 1 changed file
View
drivers/usb/gadget/fsl_udc.c