usb: dwc2: gadget: enable otg flag in dual role configuration
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:10 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:19:28 +0000 (15:19 -0500)
commit097ee6627cc8c400d77fc9a42fd787fe0fb04d76
treeb745f431fff2b2bdb320885aa48580380265c908
parent18b2b37c59e1bcd5a61716731ec5549fb5bb0203
usb: dwc2: gadget: enable otg flag in dual role configuration

Inform that device is otg-capable in case of otg configuration.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c