]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:25:28 +0000 (09:25 +0200)
commit5a66902481ea67cb866da3298db8d51072508d40
treef89de4f6952296a205c486eca3b2d3db140f1877
parente1ccb1d14f1b82cb428be9d8b593d89100e030c4
clk: tegra: Add missing reset deassertion

BugLink: https://bugs.launchpad.net/bugs/1981864
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/clk/tegra/clk-dfll.c