]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Fix duplicated SE clock entry
authorDmitry Osipenko <digetx@gmail.com>
Sun, 25 Oct 2020 22:42:12 +0000 (01:42 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 10 Dec 2020 20:51:59 +0000 (12:51 -0800)
commit47ab76fa24b043cd3108839193c9c523d5598596
tree68dbcd9c790ec8f265d7a2b1d03db574972dcd30
parentb41458c178b689986ff1863bbb9f7c163998ba1d
clk: tegra: Fix duplicated SE clock entry

The periph_clks[] array contains duplicated entry for Security Engine
clock which was meant to be defined for T210, but it wasn't added
properly. This patch corrects the T210 SE entry and fixes the following
error message on T114/T124: "Tegra clk 127: register failed with -17".

Fixes: 0bf874e0957d ("clk: tegra: periph: Add new periph clks and muxes for Tegra210")
Tested-by Nicolas Chauvet <kwizart@gmail.com>
Reported-by Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201025224212.7790-1-digetx@gmail.com
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-id.h
drivers/clk/tegra/clk-tegra-periph.c