usb: dwc2: gadget: Enable descriptor DMA mode
authorVahram Aharonyan <vahrama@synopsys.com>
Tue, 15 Nov 2016 03:16:34 +0000 (19:16 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:46 +0000 (13:54 +0200)
commita5c18f1131506d23679b896660c73e30c51051cd
treefcf4dca447f73cb7556cf92de0caf3e06157fcd0
parentef750c7142a738d3759f7a644e33fd830b2d6351
usb: dwc2: gadget: Enable descriptor DMA mode

Add DCFG register field macro for descriptor DMA mode and update core
initialization routine to set that bit accordingly.

Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hw.h