android_kernel_samsung_univ.../include/video
Philipp Zabel 137bd12493 drm/imx: Match imx-ipuv3-crtc components using device node in platform data
commit 310944d148e3600dcff8b346bee7fa01d34903b1 upstream.

The component master driver imx-drm-core matches component devices using
their of_node. Since commit 950b410dd1ab ("gpu: ipu-v3: Fix imx-ipuv3-crtc
module autoloading"), the imx-ipuv3-crtc dev->of_node is not set during
probing. Before that, of_node was set and caused an of: modalias to be
used instead of the platform: modalias, which broke module autoloading.

On the other hand, if dev->of_node is not set yet when the imx-ipuv3-crtc
probe function calls component_add, component matching in imx-drm-core
fails. While dev->of_node will be set once the next component tries to
bring up the component master, imx-drm-core component binding will never
succeed if one of the crtc devices is probed last.

Add of_node to the component platform data and match against the
pdata->of_node instead of dev->of_node in imx-drm-core to work around
this problem.

Fixes: 950b410dd1ab ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Lothar Waßmann <LW@KARO-electronics.de>
Tested-by: Heiko Schocher <hs@denx.de>
Tested-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-07 18:14:37 -07:00
..
atmel_lcdc.h
aty128.h
auo_k190xfb.h
broadsheetfb.h
cirrus.h
cvisionppc.h
da8xx-fb.h
display_timing.h
edid.h
exynos_mipi_dsim.h
exynos7_decon.h
exynos5433_decon.h
gbe.h
hecubafb.h
iga.h
ili9320.h
imx-ipu-v3.h drm/imx: Match imx-ipuv3-crtc components using device node in platform data 2016-06-07 18:14:37 -07:00
Kbuild
kyro.h
mach64.h
maxinefb.h
mbxfb.h
metronomefb.h
mipi_display.h
mmp_disp.h
neomagic.h
newport.h
of_display_timing.h
of_videomode.h
omap-panel-data.h
omapdss.h
omapvrfb.h
permedia2.h
platform_lcd.h
pm3fb.h
pmag-ba-fb.h
pmagb-b-fb.h
pxa168fb.h
radeon.h
s1d13xxxfb.h
sa1100fb.h
samsung_fimd.h
sh_mipi_dsi.h
sh_mobile_hdmi.h
sh_mobile_lcdc.h
sh_mobile_meram.h
sisfb.h
sstfb.h
tdfx.h
tgafb.h
trident.h
udlfb.h
uvesafb.h
vga.h
videomode.h
w100fb.h