linux/drivers/usb/cdns3
Pawel Laszczak eb21a74ada usb: cdns3: Fix for incorrect DMA mask.
This patch restores the correct DMA mask after switching back to device
mode.
The issue occurred because Device part of controller use 32 bits DMA and
Host side use 64 bits DMA. During loading XHCI driver the DMA mask
used by driver is overwritten by XHCI driver so it must be restored
to 32 bits.

Reported-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Fixes: 7733f6c32e ("usb: cdns3: Add Cadence USB3 DRD Driver")
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Tested-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/1570449803-15299-1-git-send-email-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-10 12:42:09 +02:00
..
cdns3-pci-wrap.c usb: cdns3: Fix use after free in probe error handling 2019-10-04 11:02:58 +02:00
core.c usb: cdns3: fix cdns3_core_init_role() 2019-10-10 12:42:08 +02:00
core.h
debug.h
drd.c
drd.h
ep0.c usb:cdns3: Fix for CV CH9 running with g_zero driver. 2019-10-07 12:56:26 +02:00
gadget-export.h
gadget.c usb: cdns3: Fix for incorrect DMA mask. 2019-10-10 12:42:09 +02:00
gadget.h
host-export.h
host.c
Kconfig
Makefile
trace.c
trace.h