usb: dwc3: core: fixup dr_mode fallback selection
commit5f82279a0c76825bfc6f5fa213ff82c932161462
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 7 Jun 2016 09:55:19 +0000 (7 12:55 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 07:38:42 +0000 (21 10:38 +0300)
tree241e60f206982a51079ba4eac3c3b6b07a03ec99
parente6fe66fe08cdf9c5d0eb6a6e209621f74f7ee60b
usb: dwc3: core: fixup dr_mode fallback selection

We shouldn't change a host-only dwc3 to gadget-only
if driver is built as gadget-only. Fix that up here.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c