]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Don't fail if "aotag" is not present
authorPrathamesh Shete <pshete@nvidia.com>
Fri, 14 Nov 2025 16:17:11 +0000 (16:17 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Nov 2025 16:35:36 +0000 (17:35 +0100)
commit1c458bbe4b335d1675c47d64df0c8cd34961d2bf
tree2d560de2498f962452cb7d40940e24ac4c184b3b
parent688dfe40b4d7b33047cfa009f4f88a9526265126
soc/tegra: pmc: Don't fail if "aotag" is not present

The "aotog" is an optional aperture, so if that aperture is not defined
for a given device, then initialise the 'aotag' pointer to NULL instead
of returning an error. Note that the PMC driver will not use 'aotag'
pointer if initialised to NULL.

Co-developed-by: Shardar Mohammed <smohammed@nvidia.com>
Signed-off-by: Shardar Mohammed <smohammed@nvidia.com>
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c