OpenCloudOS-Kernel/drivers/gpu/ipu-v3
Philipp Zabel 503fe87bd0 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: 304e6be652 ("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>
2016-05-05 10:34:52 +10:00
..
Kconfig gpu: ipu-v3: Kconfig: Remove SOC_IMX6SL from IMX_IPUV3_CORE Kconfig 2014-09-24 23:50:25 +02:00
Makefile gpu: ipu-v3: Add Image Converter unit 2014-09-02 14:55:43 +02:00
ipu-common.c gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading 2016-05-05 10:34:52 +10:00
ipu-cpmem.c gpu: ipu-cpmem: modify ipu_cpmem_set_yuv_planar_full for better control 2016-03-31 11:23:29 +02:00
ipu-csi.c gpu: ipu-v3: fix div_ratio type 2015-10-30 17:13:47 +01:00
ipu-dc.c gpu: ipu-v3: ipu-dc: Simplify display controller microcode setup 2016-03-01 08:33:38 +01:00
ipu-di.c gpu: imx: fix support for interlaced modes 2015-10-06 19:58:30 +01:00
ipu-dmfc.c gpu: ipu-v3: ipu-dmfc: Rename ipu_dmfc_init_channel to ipu_dmfc_config_wait4eot 2016-03-31 11:24:33 +02:00
ipu-dp.c
ipu-ic.c gpu: ipu-v3: turns out the IPU can only downsize 4:1 2015-03-31 12:03:55 +02:00
ipu-prv.h gpu: ipu-v3: Add ipu_idmac_buffer_is_ready() 2014-09-02 14:55:48 +02:00
ipu-smfc.c IPUv3 fixes for v3.18 2014-10-07 14:31:14 +10:00