]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc/tegra: fuse: Do not register SoC device on ACPI boot
authorKartik Rajput <kkartik@nvidia.com>
Wed, 8 Oct 2025 11:16:18 +0000 (16:46 +0530)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Nov 2025 15:11:19 +0000 (16:11 +0100)
On Tegra platforms using ACPI, the SMCCC driver already registers the
SoC device. This makes the registration performed by the Tegra fuse
driver redundant.

When booted via ACPI, skip registering the SoC device and suppress
printing SKU information from the Tegra fuse driver, as this information
is already provided by the SMCCC driver.

Fixes: 972167c69080 ("soc/tegra: fuse: Add ACPI support for Tegra194 and Tegra234")
Cc: stable@vger.kernel.org
Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra.c

index d276672838465c60fc0b89c2a77174a0d9ab99d5..74d2fedea71ca6ffd41a7df033e2fc58408e82d2 100644 (file)
@@ -182,8 +182,6 @@ static int tegra_fuse_probe(struct platform_device *pdev)
                }
 
                fuse->soc->init(fuse);
-               tegra_fuse_print_sku_info(&tegra_sku_info);
-               tegra_soc_device_register();
 
                err = tegra_fuse_add_lookups(fuse);
                if (err)