Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 503fe87b authored by Philipp Zabel's avatar Philipp Zabel Committed by Dave Airlie
Browse files

gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading



If of_node is set before calling platform_device_add, the driver core
will try to use of: modalias matching, which fails because the device
tree nodes don't have a compatible property set. This patch fixes
imx-ipuv3-crtc module autoloading by setting the of_node property only
after the platform modalias is set.

Fixes: 304e6be6 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports")
Reported-by: default avatarDennis Gilmore <dennis@ausil.us>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Tested-By: default avatarDennis Gilmore <dennis@ausil.us>
Cc: stable@vger.kernel.org # 4.4+
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4810d968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment