]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: sunxi: Remove TV probe from DE2
authorJernej Skrabec <jernej.skrabec@siol.net>
Thu, 22 Apr 2021 00:14:32 +0000 (01:14 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sat, 24 Apr 2021 11:44:56 +0000 (13:44 +0200)
TV driver was never fully implemented. Remove search for it from DE2
driver.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/video/sunxi/sunxi_de2.c

index a3e21aa5f13e3698de791a81caea268430277d82..6b836a011944603f6dae669005ec1284a76c4598 100644 (file)
@@ -281,20 +281,7 @@ static int sunxi_de2_probe(struct udevice *dev)
 
        debug("%s: hdmi display not found (ret=%d)\n", __func__, ret);
 
-       ret = uclass_find_device_by_name(UCLASS_DISPLAY,
-                                       "sunxi_tve", &disp);
-       if (ret) {
-               debug("%s: tv not found (ret=%d)\n", __func__, ret);
-               return ret;
-       }
-
-       ret = sunxi_de2_init(dev, plat->base, VIDEO_BPP32, disp, 1, true);
-       if (ret)
-               return ret;
-
-       video_set_flush_dcache(dev, 1);
-
-       return 0;
+       return -ENODEV;
 }
 
 static int sunxi_de2_bind(struct udevice *dev)