Chen-Yu Tsai 1469619d29 drm/sun4i: tcon: Check for multiple paths between TCONs and backends
The patch b317fa3ba11a ("drm/sun4i: tcon: Find matching display backend
by device node matching") assumed a one-to-one mapping between TCONs
and backends. This turned out wrong, as we found muxing controls in the
TCON of the A31, and undocumented usage of the backend output selector
of the A20.

Make sun4i_tcon_find_engine() bail out if the current node has multiple
input connections.

Fixes: b317fa3ba11a ("drm/sun4i: tcon: Find matching display backend
		      by device node matching")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170908075016.18657-4-wens@csie.org
2017-09-09 17:24:01 +02:00
..
2017-09-02 14:23:06 +02:00
2017-08-27 19:29:46 +02:00
2017-09-06 08:39:55 +02:00
2017-08-16 12:06:02 +10:00
2017-08-15 14:46:16 -04:00
2017-08-27 19:30:49 +02:00
2017-08-18 09:10:46 +02:00
2017-08-15 16:16:58 +10:00
2017-08-27 19:31:06 +02:00
2017-07-27 08:15:43 +10:00
2017-08-11 10:49:21 +02:00
2017-08-23 23:08:36 +02:00