summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-04-27 11:17:51 +0300
committerDave Airlie <airlied@redhat.com>2016-05-05 03:34:52 +0300
commit503fe87bd0a8346ba9d8b7f49115dcd0a4185226 (patch)
treecc9499b79a1805dc27b9de902d0a341524946f1d /drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
parent4810d9682971e8eee659f96e4f9d9154e3c6c0b4 (diff)
downloadlinux-503fe87bd0a8346ba9d8b7f49115dcd0a4185226.tar.xz
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: 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports") Reported-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-By: Dennis Gilmore <dennis@ausil.us> Cc: stable@vger.kernel.org # 4.4+ Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_encoders.c')
0 files changed, 0 insertions, 0 deletions