RE: [PATCH 1/1] usb: chipidea: msm: Ensure proper controller reset using role switch API

From: Peter Chen
Date: Thu May 07 2020 - 02:48:43 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")
>
> This should also go do stable kernels, I'll mark that...

Thanks, Greg.

Peter