linux-imx/include
Philipp Zabel 8bf626545f drm/imx: Match imx-ipuv3-crtc components using device node in platform data
commit 310944d148 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:18:52 -07:00
..
acpi ACPI / CPPC: remove redundant mbox_send_message() declaration 2016-02-03 01:09:52 +01:00
asm-generic SIGNAL: Move generic copy_siginfo() to signal.h 2016-06-01 12:17:03 -07:00
clocksource
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-01-22 11:58:43 -08:00
drm drm: Loongson-3 doesn't fully support wc memory 2016-05-04 14:49:05 -07:00
dt-bindings clk: tegra: Add the APB2APE audio clock on Tegra210 2016-02-02 15:49:29 +01:00
keys tpm: fix checks for policy digest existence in tpm2_seal_trusted() 2016-05-04 14:49:15 -07:00
kvm
linux mm: use phys_addr_t for reserve_bootmem_region() arguments 2016-06-07 18:18:50 -07:00
math-emu
media videobuf2-core: Check user space planes array in dqbuf 2016-05-04 14:49:08 -07:00
memory
misc
net net_sched: update hierarchical backlog too 2016-05-18 18:35:05 -07:00
pcmcia
ras
rdma IB/security: Restrict use of the write() interface 2016-05-04 14:49:09 -07:00
rxrpc
scsi scsi: Add intermediate STARGET_REMOVE state to scsi_target_state 2016-06-01 12:17:03 -07:00
soc ARM: SoC driver updates for v4.5 2016-01-20 18:42:30 -08:00
sound ALSA: hda - Update BCLK also at hotplug for i915 HSW/BDW 2016-05-04 14:49:01 -07:00
target target/transport: add flag to indicate CPU Affinity is observed 2016-02-10 23:08:55 -08:00
trace Merge remote-tracking branches 'asoc/fix/jack', 'asoc/fix/max98088', 'asoc/fix/max98095', 'asoc/fix/omap', 'asoc/fix/pxa' and 'asoc/fix/qcom-be' into asoc-linus 2016-03-05 21:26:45 +09:00
uapi uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h 2016-05-18 18:35:07 -07:00
video drm/imx: Match imx-ipuv3-crtc components using device node in platform data 2016-06-07 18:18:52 -07:00
xen xen: Fix page <-> pfn conversion on 32 bit systems 2016-05-11 11:21:33 +02:00
Kbuild