]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: core: Use role-switch default dr_mode
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Mon, 30 Mar 2020 00:10:05 +0000 (17:10 -0700)
committerFelipe Balbi <balbi@kernel.org>
Tue, 5 May 2020 08:00:12 +0000 (11:00 +0300)
commit0e2c92cc2d98dda6a37a6fb8f4fd43086dec3adb
tree471bf735302d1886274faaa2ff24b23149c74ddb
parentcb1faff4039f538dfd0b3f6dc16e1815ab530088
usb: dwc3: core: Use role-switch default dr_mode

If the driver is configured to use DRD role-switch, let the drd code
path decide the default dr_mode.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/core.c