commit | cd051da2c81c8a86f331b4caa0c135c33d3ea3f6 | [log] [tgz] |
---|---|---|
author | Vivek Gautam <gautam.vivek@samsung.com> | Sat Mar 02 18:55:24 2013 +0530 |
committer | Felipe Balbi <balbi@ti.com> | Mon Mar 18 11:18:00 2013 +0200 |
tree | cb8a63206a92236b50d4f69ee87f727680a2c26c | |
parent | b5a726b30436ab332aea4133bbfa0484d1c658b3 [diff] |
usb: dwc3: set 'mode' based on selected Kconfig choices Now that machines may select dwc3's working mode (HOST only, GADGET only or DUAL_ROLE) via Kconfig, let's set dwc3's mode based on that, rather than fixing it to whatever hardware says. This way we can skip initializing Gadget/Host in case we are using Host-only/Gadget-only mode respectively. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>