Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc/tegra: fuse: Do not register SoC device on ACPI boot

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>

authored by

Kartik Rajput and committed by
Thierry Reding
c87f820b 3a866087

-2
-2
drivers/soc/tegra/fuse/fuse-tegra.c
··· 182 182 } 183 183 184 184 fuse->soc->init(fuse); 185 - tegra_fuse_print_sku_info(&tegra_sku_info); 186 - tegra_soc_device_register(); 187 185 188 186 err = tegra_fuse_add_lookups(fuse); 189 187 if (err)