From: Svyatoslav Ryhel Date: Fri, 13 Dec 2024 14:53:19 +0000 (+0200) Subject: driver: clk: tegra: init basic clocks on probe X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b46bd4f87465bf9b8954590190f8e413d56544b3;p=u-boot.git driver: clk: tegra: init basic clocks on probe In case DM drivers probe earlier than board clock setup is done init of basic clocks should be done in CAR driver probe as well. Add it to avoid possible clock related problems. Acked-by: Thierry Reding Signed-off-by: Svyatoslav Ryhel --- diff --git a/drivers/clk/tegra/tegra-car-clk.c b/drivers/clk/tegra/tegra-car-clk.c index ec89d4b2b2..880dd4f6ec 100644 --- a/drivers/clk/tegra/tegra-car-clk.c +++ b/drivers/clk/tegra/tegra-car-clk.c @@ -112,6 +112,9 @@ static int tegra_car_clk_probe(struct udevice *dev) { debug("%s(dev=%p)\n", __func__, dev); + clock_init(); + clock_verify(); + return 0; }