usb: dwc2: host: enable descriptor dma for fs devices
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Fri, 20 Nov 2015 10:49:28 +0000 (11:49 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000 (09:12 -0600)
commitfbb9e22b15ad3c9a98c66bad801b4d1366e8bf20
tree11c3c1a561b92a95b608e597052c1ae029aa6986
parent75f5c434c30b22a48a1d4a0f827473dc29036d78
usb: dwc2: host: enable descriptor dma for fs devices

As descriptor dma mode does not support split transfers, it can't be
enabled for high speed devices. Add a core parameter to enable it for
full speed devices.

Ensure frame list and descriptor list are correctly freed during
disconnect.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd_intr.c
drivers/usb/dwc2/hcd_queue.c
drivers/usb/dwc2/platform.c