linux/drivers/gpu/ipu-v3
Philipp Zabel c04e6e9730 gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading
commit 503fe87bd0 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2016-05-11 11:21:21 +02:00
..
ipu-common.c gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading 2016-05-11 11:21:21 +02:00
ipu-cpmem.c gpu: ipu-v3: add support for ARGB4444 16-bit color format 2015-10-30 17:13:47 +01:00
ipu-csi.c gpu: ipu-v3: fix div_ratio type 2015-10-30 17:13:47 +01:00
ipu-dc.c gpu: imx: fix support for interlaced modes 2015-10-06 19:58:30 +01:00
ipu-di.c gpu: imx: fix support for interlaced modes 2015-10-06 19:58:30 +01:00
ipu-dmfc.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-06-12 11:32:30 -07:00
ipu-dp.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-06-12 11:32:30 -07:00
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
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