Patch "drm/imx: parallel-display: Accept drm_of_find_panel_or_bridge failure" has been added to the 4.12-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
drm/imx: parallel-display: Accept drm_of_find_panel_or_bridge failure
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-imx-parallel-display-accept-drm_of_find_panel_or_bridge-failure.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
799ee2970485dc206c3bf347d6e6827c04d5e4f9Mon Sep 17 00:00:00 2001
From: Philipp Zabel <[email protected]>
Date: Mon, 12 Jun 2017 17:54:29 +0200
Subject: drm/imx: parallel-display: Accept drm_of_find_panel_or_bridge failure
From: Philipp Zabel <[email protected]>
commit 799ee2970485dc206c3bf347d6e6827c04d5e4f9 upstream.
The parallel panel driver should continue to work without having an endpoint linking to an panel in DT for backwards compatibility. With the recent switch to drm_of_find_panel_or_bridge, an absent panel results in a failure with -ENODEV error return code. To restore the old behaviour, ignore the -ENODEV return code.
--- drivers/gpu/drm/imx/parallel-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/imx/parallel-display.c +1 -1
@@ -237,7 +237,7 @@ static int imx_pd_bind(struct device *de/* port@1 is the output port */ ret =drm_of_find_panel_or_bridge (np,1 ,0 , &imxpd->panel, &imxpd->bridge); -if (ret) +if (ret && ret != -ENODEV )return ret; imxpd->dev = dev;
Patches currently in stable-queue which might be from [email protected] are
queue-4.12/drm-imx-parallel-display-accept-drm_of_find_panel_or_bridge-failure.patch