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

2020-05-06 Thread Peter Chen
> > On Thu, May 07, 2020 at 08:49:18AM +0800, Peter Chen wrote: > > From: Bryan O'Donoghue > > > > 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 w

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

2020-05-06 Thread Greg KH
On Thu, May 07, 2020 at 08:49:18AM +0800, Peter Chen wrote: > From: Bryan O'Donoghue > > 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 reg

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

2020-05-06 Thread Greg KH
On Thu, May 07, 2020 at 08:49:18AM +0800, Peter Chen wrote: > From: Bryan O'Donoghue > > 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 reg

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

2020-05-06 Thread Peter Chen
From: Bryan O'Donoghue 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 updat