]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "drm/mipi-dsi: Set the fwnode for mipi_dsi_device"
authorJason-JH.Lin <jason-jh.lin@mediatek.com>
Tue, 29 Oct 2024 01:24:53 +0000 (09:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:56 +0000 (16:25 +0100)
commit5a31d94fc0161f5e22532811f5c7707f150feb6f
treecebf3116cac30b03e4a9eabda0f14f2b8e3ee092
parent3d9528484480e8f4979b3a347930ed383be99f89
Revert "drm/mipi-dsi: Set the fwnode for mipi_dsi_device"

This reverts commit ac88a1f41f93499df6f50fd18ea835e6ff4f3200 which is
commit a26cc2934331b57b5a7164bff344f0a2ec245fc0 upstream.

Reason for revert:
1. The commit [1] does not land on linux-5.15, so this patch does not
fix anything.

2. Since the fw_devlink improvements series [2] does not land on
linux-5.15, using device_set_fwnode() causes the panel to flash during
bootup.

Incorrect link management may lead to incorrect device initialization,
affecting firmware node links and consumer relationships.
The fwnode setting of panel to the DSI device would cause a DSI
initialization error without series[2], so this patch was reverted to
avoid using the incomplete fw_devlink functionality.

[1] commit 3fb16866b51d ("driver core: fw_devlink: Make cycle detection more robust")
Link: https://lore.kernel.org/all/20230207014207.1678715-1-saravanak@google.com
Cc: stable@vger.kernel.org # 5.15.169
Cc: stable@vger.kernel.org # 5.10.228
Cc: stable@vger.kernel.org # 5.4.284
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_mipi_dsi.c