usb: dwc2: Initialize the USB core for peripheral mode
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 11 Nov 2014 17:13:36 +0000 (11:13 -0600)
committerFelipe Balbi <balbi@ti.com>
Fri, 14 Nov 2014 20:59:43 +0000 (14:59 -0600)
commit510ffaa48eac2587a4df9ec7668e3274e5f96ee3
treeeb74a9ee1e05155ddaf2411257744bb9741a0c0f
parentbcc06078ba4da9a8b92342e7005c65ba4c06bdb9
usb: dwc2: Initialize the USB core for peripheral mode

Initialize the USB driver to peripheral mode when a B-Device connector
is attached.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hcd.c