From: Linus Torvalds Date: Wed, 17 Jul 2024 00:35:45 +0000 (-0700) Subject: firmware: qcom: tzmem: don't ask about allocator mode when not enabled X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9de4ad3bde144b55b8451fc280c18107c139481c;p=users%2Fjedix%2Flinux-maple.git 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 --- 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