Skip to contentSkip to conversation

hid: intel-thc-hid: Select SGL_ALLOC

PATCH Applied Tim Zimmermann 3 participants 3 messages Nov 28, 2025 – Jan 7

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hid: intel-thc-hid: Select SGL_ALLOC

intel-thc-dma.c uses sgl_alloc() resulting in a build failure if CONFIG_SGL_ALLOC is not enabled

---
 drivers/hid/intel-thc-hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/intel-thc-hid/Kconfig +1 -0
index 0351d1137607..9d74e53b8c62 100644
@@ -7,6 +7,7 @@ menu "Intel THC HID Support"
 config INTEL_THC_HID
 	tristate "Intel Touch Host Controller"
 	depends on ACPI
+	select SGL_ALLOC
 	help
 	  THC (Touch Host Controller) is the name of the IP block in PCH that
 	  interfaces with Touch Devices (ex: touchscreen, touchpad etc.). It
Signature · 1 line
2.51.0
maintainer Reviewed-by on v1 1/1
#1 lore raw

From: "Xu, Even" <[email protected]>

Quoted 22 lines

From: Tim Zimmermann <[email protected]>
Cc: [email protected], Even Xu <[email protected]>,
Xinpeng Sun <[email protected]>,
Jiri Kosina <[email protected]>,
Benjamin Tissoires <[email protected]>, [email protected], [email protected]
Subject: [PATCH] hid: intel-thc-hid: Select SGL_ALLOC
Date: Fri, 28 Nov 2025 08:54:22 +0100 [thread overview]
Message-ID: <[email protected]> (raw)

intel-thc-dma.c uses sgl_alloc() resulting in a build failure if CONFIG_SGL_ALLOC is not enabled

---
 drivers/hid/intel-thc-hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/intel-thc-hid/Kconfig +0 -0
index 0351d1137607..9d74e53b8c62 100644

drivers/hid/intel-thc-hid/Kconfig menu "Intel THC HID Support" · line 13

Quoted 7 lines
drivers/hid/intel-thc-hid/Kconfig +1 -0
@@ -7,6 +7,7 @@ menu "Intel THC HID Support"
 config INTEL_THC_HID
 	tristate "Intel Touch Host Controller"
 	depends on ACPI
+	select SGL_ALLOC
 	help
 	  THC (Touch Host Controller) is the name of the IP block in PCH that
 	  interfaces with Touch Devices (ex: touchscreen, touchpad etc.). It

Thanks for the patch!

Quoted 2 lines
Signature · 1 line
2.51.0