soc/tegra: fuse: Do not register SoC device on ACPI boot
Subsystems (2)
PATCH 1/1 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.
--- drivers/soc/tegra/fuse/fuse-tegra.c | 2 -- 1 file changed, 2 deletions(-)
drivers/soc/tegra/fuse/fuse-tegra.c +0 -2
@@ -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)
Signature · 1 line
2.43.0
Thierry Reding
AppliedQuoted 8 lines · Kartik Rajput
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.
Quoted 6 lines
Fixes 972167c69080 ("soc/tegra: fuse: Add ACPI support for Tegra194 and Tegra234")Signed-off-by Kartik Rajput <[email protected]>--- drivers/soc/tegra/fuse/fuse-tegra.c | 2 -- 1 file changed, 2 deletions(-)
Applied, thanks.
Thierry