drm/sun4i: Don't check for panel or bridge on TV TCONs
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 25 Jun 2018 12:02:52 +0000 (14:02 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 19:43:56 +0000 (21:43 +0200)
commit63d6310f6cc63735f08b86b3c8390b9f066a2221
treeca6de16384b17ad705df06e72eb05bcd408ce0aa
parent2a72d0c5796b7ec90ebf51e714b3d305d4367341
drm/sun4i: Don't check for panel or bridge on TV TCONs

TV TCONs are always connected to TV or HDMI encoder, so it doesn't make
sense to check if panel or bridge is connected to them.

Check if TCON has channel 0 and only then check for connected panel or
bridges.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180625120304.7543-13-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun4i_tcon.c