From 9de4ad3bde144b55b8451fc280c18107c139481c Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 16 Jul 2024 17:35:45 -0700 Subject: firmware: qcom: tzmem: don't ask about allocator mode when not enabled The Qualcomm firmware code shouldn't ask about what memory allocator mode should be used when the code isn't even enabled. Get rid of pointless config-time question. Link: https://lore.kernel.org/all/CAHk-=wg+38EHPKGou1MqXwAAXC30cM8sMgZAGnZ7TcFO4L9J2w@mail.gmail.com/ Signed-off-by: Linus Torvalds --- drivers/firmware/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom/Kconfig b/drivers/firmware/qcom/Kconfig index 7f6eb4174734..73a1a41bf92d 100644 --- a/drivers/firmware/qcom/Kconfig +++ b/drivers/firmware/qcom/Kconfig @@ -16,6 +16,7 @@ config QCOM_TZMEM choice prompt "TrustZone interface memory allocator mode" + depends on QCOM_TZMEM default QCOM_TZMEM_MODE_GENERIC help Selects the mode of the memory allocator providing memory buffers of -- cgit v1.2.3-58-ga151