Re: [PATCH v3] usb: dwc3: Don't switch OTG -> peripheral if extcon is present

From: Greg KH
Date: Tue Mar 15 2022 - 13:42:26 EST


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 :(