]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Do not rely on global variable
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 13:55:03 +0000 (14:55 +0100)
committerThierry Reding <treding@nvidia.com>
Sun, 18 Jan 2026 07:48:30 +0000 (08:48 +0100)
commite1fd5ad68acd3c3a76651c811e1fdb4846237370
treeb87e95284e1be03a8296c7321d2706382d139def
parent2e944c51d6617d3ded7734d21202036c126344a1
soc/tegra: pmc: Do not rely on global variable

The reset action for changing the suspend mode back on failure can take
a context-specific data argument that can be set to the PMC context in
order to avoid relying on a global variable.

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