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)
commit5bf5861d6ea6c3f4b38fc8fda2062b2dc44ac63d
tree68dbcd9c790ec8f265d7a2b1d03db574972dcd30
parent55cd03e8095d46c5cc4b72e71af7ea3e34eb3c2f
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: dc37fec48314 ("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