Re: [PATCH 1/1] usb: chipidea: msm: Ensure proper controller reset using role switch API
From: Greg KH
Date: Thu May 07 2020 - 02:45:51 EST
On Thu, May 07, 2020 at 08:49:18AM +0800, Peter Chen wrote:
> From: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
>
> Currently we check to make sure there is no error state on the extcon
> handle for VBUS when writing to the HS_PHY_GENCONFIG_2 register. When using
> the USB role-switch API we still need to write to this register absent an
> extcon handle.
>
> This patch makes the appropriate update to ensure the write happens if
> role-switching is true.
>
> Fixes: 05559f10ed79 ("usb: chipidea: add role switch class support")
>
> Cc: Peter Chen <Peter.Chen@xxxxxxx>
No blank line needed, and you can drop your own Cc: in the patch :)
I'll edit it by hand...
greg k-h