[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173367714219.1031947.13630149874442977785.b4-ty@kernel.org>
Date: Sun, 08 Dec 2024 22:29:02 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Kishon Vijay Abraham I <kishon@...nel.org>,
Heiko Stuebner <heiko@...ech.de>, Algea Cao <algea.cao@...k-chips.com>,
Cristian Ciocaltea <cristian.ciocaltea@...labora.com>
Cc: kernel@...labora.com, linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Dmitry Osipenko <dmitry.osipenko@...labora.com>
Subject: Re: [PATCH] phy: rockchip: samsung-hdptx: Set drvdata before
enabling runtime PM
On Wed, 23 Oct 2024 20:29:54 +0300, Cristian Ciocaltea wrote:
> In some cases, rk_hdptx_phy_runtime_resume() may be invoked before
> platform_set_drvdata() is executed in ->probe(), leading to a NULL
> pointer dereference when using the return of dev_get_drvdata().
>
> Ensure platform_set_drvdata() is called before devm_pm_runtime_enable().
>
>
> [...]
Applied, thanks!
[1/1] phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM
commit: 9d23e48654620fdccfcc74cc2cef04eaf7353d07
Best regards,
--
~Vinod
Powered by blists - more mailing lists