commit | d0f0ac56b34b28e80223d7086b4decdf027c27ed | [log] [tgz] |
---|---|---|
author | John Youn <johnyoun@synopsys.com> | Wed Sep 07 19:39:37 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Sep 08 14:02:50 2016 +0300 |
tree | b7a473dd88722a65bcf5b44fb08177c370ea5497 | |
parent | 3262ad824307c275922161e82c2db1458822f28c [diff] |
usb: dwc2: gadget: Only initialize device if in device mode In dwc2_hsotg_udc_start(), don't initialize the controller for device mode unless we are actually in device mode. Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>