diff options
| author | Ajay Agarwal <ajaya@codeaurora.org> | 2017-05-30 10:22:04 +0530 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2017-05-30 15:55:01 +0530 |
| commit | 2f211b5dc9fa03287af3f623b4a823ec7944a14a (patch) | |
| tree | 019a3eee3098622983e1fd93e46bc872fcf3fe78 /kernel/signal.c | |
| parent | ace73576d2eb567f552a699109b32d0917fccdbd (diff) | |
usb: dwc3: Allow DWC3 to handle non-extcon controller instance
Extcon is required by the USB controller to switch between
host and peripheral modes using BSV and ID events. If the
DT node of a particular controller does not have 'extcon'
property set but the mode is set to host only using
dr_mode = "host", then we do not fail the probe and
bring up the controller in host mode.
Add another case to the probe that when extcon prop is not
set and the controller mode is set to DRD, then bring up
the device in host mode. User can always change the mode
using sysfs.
Change-Id: Iad44748b99a944fab93ff86a34787bd93dcb4ed6
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions
