]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Pass struct tegra_pmc to tegra_powergate_state()
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 13:27:21 +0000 (14:27 +0100)
committerThierry Reding <treding@nvidia.com>
Sun, 18 Jan 2026 07:48:29 +0000 (08:48 +0100)
commit1c672945ceb4ba55feb2ba9d6816be395a6e32d7
treef816b28212ddbdc48e4bc79280b78f4a42fb74ac
parentf59dbd0c9388321336b0f5c57644fd8b0ee94aa9
soc/tegra: pmc: Pass struct tegra_pmc to tegra_powergate_state()

By using the generic read_poll_timeout() instead of readx_poll_timeout()
we can pass additional parameters, which allows us to pass an additional
PMC context structure and avoid relying on a global variable for this.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c