hid: intel-thc-hid: Select SGL_ALLOC
Subsystems (2)
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
@@ -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
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: SelectSGL_ALLOC
Date: Fri, 28 Nov 2025 08:54:22 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
intel-thc-dma.cusessgl_alloc()resulting in a build failure ifCONFIG_SGL_ALLOCis not enabledSigned-off-by Tim Zimmermann <[email protected]>--- drivers/hid/intel-thc-hid/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/hid/intel-thc-hid/Kconfig +0
-0
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
Quoted 3 lines · Tim Zimmermann
intel-thc-dma.cusessgl_alloc()resulting in a build failure ifCONFIG_SGL_ALLOCis not enabled
Applied to hid/hid.git (for-6.19/upstream-fixes), thanks!
[1/1] hid: intel-thc-hid: Select SGL_ALLOC
https://git.kernel.org/hid/hid/c/dd76788f9ec4
Cheers,
Signature · 1 line
Benjamin Tissoires <[email protected]>