[PATCH v1 05/13] video: bridge: tc358768: remove need in clock name

Svyatoslav Ryhel clamor95 at gmail.com
Wed Mar 12 19:07:46 CET 2025


Bridge uses only one clock and enforcing name to be set may
cause issues in the future.

Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
---
 drivers/video/bridge/tc358768.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/bridge/tc358768.c b/drivers/video/bridge/tc358768.c
index 6f1b057c208..358004f30f2 100644
--- a/drivers/video/bridge/tc358768.c
+++ b/drivers/video/bridge/tc358768.c
@@ -951,7 +951,7 @@ static int tc358768_setup(struct udevice *dev)
 	}
 
 	/* get clk */
-	priv->refclk = devm_clk_get(dev, "refclk");
+	priv->refclk = devm_clk_get(dev, NULL);
 	if (IS_ERR(priv->refclk)) {
 		log_debug("%s: Could not get refclk: %ld\n",
 			  __func__, PTR_ERR(priv->refclk));
-- 
2.43.0



More information about the U-Boot mailing list