summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2023-06-30 15:07:48 +0200
committerStephen Boyd <sboyd@kernel.org>2023-07-04 17:54:37 +0200
commitf679e89acdd3e825995a84b1b07e2ea33ea882ee (patch)
tree0917269f6bd621416fa32690f960df021d926dea /drivers/bus
parentdt-bindings: mfd: ti,j721e-system-controller: Remove syscon from example (diff)
downloadlinux-f679e89acdd3e825995a84b1b07e2ea33ea882ee.tar.xz
linux-f679e89acdd3e825995a84b1b07e2ea33ea882ee.zip
clk: tegra: Avoid calling an uninitialized function
Commit 493ffb046cf5 ("clk: tegra: super: Switch to determine_rate") replaced clk_super_round_rate() by clk_super_determine_rate(), but didn't update one callsite that was explicitly calling the old tegra_clk_super_ops.round_rate() function, which was now NULL. This resulted in a crash on Tegra30 systems during early boot. Switch this callsite over to the clk_super_determine_rate() equivalent to avoid the crash. Fixes: 493ffb046cf5 ("clk: tegra: super: Switch to determine_rate") Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20230630130748.840729-1-thierry.reding@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions