* [PATCH] soc/tegra: make SOC_TEGRA_CBB bool
@ 2026-12-04 2:00 Pengpeng Hou
0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-12-04 2:00 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra, linux-kernel, Pengpeng Hou
The Tegra CBB option offers a module setting, but its core object is
placed in obj-y and the selected implementations register through
built-in initialization.
Make the option boolean to describe the build that actually exists. This
changes configuration choices, not the hardware error-reporting
protocol.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: b71344221466 ("soc/tegra: cbb: Add CBB 1.0 driver for Tegra194")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
The original patch was prepared with Gemini. Codex assisted with this
review and revision (Assisted-by: gpt 5).
With the ARM64 Tegra194 configuration, a request for SOC_TEGRA_CBB=m
previously resolved to m. With the boolean option its enabled default
resolved to y and an explicit n remained n. This was a Kconfig test
using the kernel dummy cross tools; no target binary was built.
drivers/soc/tegra/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
index 318e7b60434249a9bb57512a847e3ad0aa7c51ac..74f4ae83e47e87bb7a9e951a1a26a8f340bd4693 100644
--- a/drivers/soc/tegra/Kconfig
+++ b/drivers/soc/tegra/Kconfig
@@ -184,7 +184,7 @@ config SOC_TEGRA30_VOLTAGE_COUPLER
depends on REGULATOR
config SOC_TEGRA_CBB
- tristate "Tegra driver to handle error from CBB"
+ bool "Tegra driver to handle error from CBB"
depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
default y
help
base-commit: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-04 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04 2:00 [PATCH] soc/tegra: make SOC_TEGRA_CBB bool Pengpeng Hou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®