mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
9d23e48654
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().
Reported-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-rockchip-dp.c | ||
phy-rockchip-dphy-rx0.c | ||
phy-rockchip-emmc.c | ||
phy-rockchip-inno-csidphy.c | ||
phy-rockchip-inno-dsidphy.c | ||
phy-rockchip-inno-hdmi.c | ||
phy-rockchip-inno-usb2.c | ||
phy-rockchip-naneng-combphy.c | ||
phy-rockchip-pcie.c | ||
phy-rockchip-samsung-hdptx.c | ||
phy-rockchip-snps-pcie3.c | ||
phy-rockchip-typec.c | ||
phy-rockchip-usb.c | ||
phy-rockchip-usbdp.c |