usb: dwc3: use bus->sysdev for DMA configuration
authorArnd Bergmann <arnd@arndb.de>
Thu, 17 Nov 2016 11:43:47 +0000 (17:13 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:54 +0000 (13:54 +0200)
commitd64ff406e51e4f359afedbf2468a10440d6d8cef
tree51683642d1297c25af180f90c3a6b894e56069d2
parent1c404b51a05d1f22c81ed85a822def64c7bb911c
usb: dwc3: use bus->sysdev for DMA configuration

The dma ops for dwc3 devices are not set properly. So, use a
physical device sysdev, which will be inherited from parent,
to set the hardware / firmware parameters like dma.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Tested-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/dwc3-pci.c
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/host.c