From ff3f71deada3b2171359a8d295c105e47b075f8b Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Sun, 21 May 2023 20:36:13 +0200 Subject: [PATCH] video: rockchip: rk3399-vop: Don't enable hardcoded regulator --- drivers/video/rockchip/rk3399_vop.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/video/rockchip/rk3399_vop.c b/drivers/video/rockchip/rk3399_vop.c index cb589c7537e..cfb455c2bb6 100644 --- a/drivers/video/rockchip/rk3399_vop.c +++ b/drivers/video/rockchip/rk3399_vop.c @@ -55,9 +55,9 @@ static void rk3399_set_pin_polarity(struct udevice *dev, * Try some common regulators. We should really get these from the * device tree somehow. */ -static const char * const rk3399_regulator_names[] = { - "vcc33_lcd" -}; +//static const char * const rk3399_regulator_names[] = { +// "vcc33_lcd" +//}; static int rk3399_vop_probe(struct udevice *dev) { @@ -65,9 +65,9 @@ static int rk3399_vop_probe(struct udevice *dev) if (!(gd->flags & GD_FLG_RELOC)) return 0; - /* Probe regulators required for the RK3399 VOP */ - rk_vop_probe_regulators(dev, rk3399_regulator_names, - ARRAY_SIZE(rk3399_regulator_names)); +// /* Probe regulators required for the RK3399 VOP */ +// rk_vop_probe_regulators(dev, rk3399_regulator_names, +// ARRAY_SIZE(rk3399_regulator_names)); return rk_vop_probe(dev); }