[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tu54r2w1.fsf@gmail.com>
Date: Sun, 18 Sep 2022 20:46:33 +0300
From: Mikhail Rudenko <mike.rudenko@...il.com>
To: Samuel Holland <samuel@...lland.org>
Cc: stable@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Heiko Stuebner <heiko@...ech.de>,
Peter Geis <pgwipeout@...il.com>
Subject: Re: [PATCH] phy: rockchip-inno-usb2: Fix otg port initialization
On 2022-09-17 at 12:12 -05, Samuel Holland <samuel@...lland.org> wrote:
> On 9/17/22 11:58, Mikhail Rudenko wrote:
>> There are two issues in rockchip_usb2phy_otg_port_init(): (1) even if
>> devm_extcon_register_notifier() returns error, the code proceeds to
>> the next if statement and (2) if no extcon is defined in of_node, the
>> return value of property_enabled() is reused as the return value of
>> the whole function. If the return value of property_enable() is
>> nonzero, (2) results in an unexpected probe failure and kernel panic
>> in delayed work:
>
> This should be fixed by the following patch which is accepted already:
>
> https://lore.kernel.org/lkml/20220902184543.1234835-1-pgwipeout@gmail.com/
Ah, I see now. Sorry for the noise!
--
Best regards,
Mikhail Rudenko
Powered by blists - more mailing lists