[PATCH v4] phy: rockchip-inno-usb2: Return zero after otg sync

Chen-Yu Tsai wens at kernel.org
Wed Oct 5 09:10:31 PDT 2022


On Sun, Sep 4, 2022 at 11:24 PM Vinod Koul <vkoul at kernel.org> wrote:
>
> On 02-09-22, 14:45, Peter Geis wrote:
> > The otg sync state patch reuses the ret variable, but fails to set it to
> > zero after use. This leads to a situation when the otg port is in
> > peripheral mode where the otg phy aborts halfway through setup.  It also
> > fails to account for a failure to register the extcon notifier. Fix this
> > by using our own variable and skipping otg sync in case of failure.
>
> Applied, thanks

This should have been applied for v6.0-rc, not -next.
We now have a v6.0 release that doesn't boot properly on RK3399.

ChenYu



More information about the Linux-rockchip mailing list