On Mon, Feb 28, 2022 at 09:12:52AM -0800, Andrey Smirnov wrote: > If the extcon device exists, get the mode from the extcon device. If > the controller is DRD and the driver is unable to determine the mode, > only then default the dr_mode to USB_DR_MODE_PERIPHERAL. > > Cc: Felipe Balbi <balbi@xxxxxxxxxx> > Cc: Thinh Nguyen <thinhn@xxxxxxxxxxxx> > Cc: linux-usb@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Reviewed-by: Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > --- > > Changes since [v2] of the patch: > > - Fixed "Minor formatting change", to reflect what was meant by > review comment > > Changes since [v1] of the patch: > > - Reworded commit message > - Minor formatting change Does not apply to my tree :(