]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: tegra: Add missing reset deassertion
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Fri, 29 Apr 2022 12:58:43 +0000 (13:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:26:29 +0000 (10:26 +0200)
commitfd412309671a4b397260c8507dec65e404101a03
treedf121bfd00790b7108de06348db0c972651c4e16
parent38560e0e7b26d3cedca4db389b5236a99198ce54
clk: tegra: Add missing reset deassertion

commit 23a43cc437e747473d5f8f98b4fe189fb5c433b7 upstream.

Commit 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling
clocks") removed deassertion of reset lines when enabling peripheral
clocks. This breaks the initialization of the DFLL driver which relied
on this behaviour.

Fix this problem by adding explicit deassert/assert requests to the
driver. Tested on Google Pixel C.

Cc: stable@vger.kernel.org
Fixes: 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling clocks")
Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/tegra/clk-dfll.c