]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Dec 2020 12:47:01 +0000 (13:47 +0100)
commit2cb90cf04bc6085cd625d2c78e259fca5f1fe6b2
treeec2d82e58479043533b5d5da1fce4045118a97b7
parente1f98fe3521c4a7be4cc3acf47f54edf064ee266
clk: tegra: Fix duplicated SE clock entry

[ Upstream commit 5bf5861d6ea6c3f4b38fc8fda2062b2dc44ac63d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/tegra/clk-id.h
drivers/clk/tegra/clk-tegra-periph.c