RE: [PATCH] hid: intel-thc-hid: Select SGL_ALLOC
From: Even Xu
Date: Sun Dec 21 2025 - 21:54:36 EST
From: "Xu, Even" <even.xu@xxxxxxxxx>
> From: Tim Zimmermann <tim@xxxxxxxxx>
> Cc: tim@xxxxxxxxx, Even Xu <even.xu@xxxxxxxxx>,
> Xinpeng Sun <xinpeng.sun@xxxxxxxxx>,
> Jiri Kosina <jikos@xxxxxxxxxx>,
> Benjamin Tissoires <bentiss@xxxxxxxxxx>,
> linux-input@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH] hid: intel-thc-hid: Select SGL_ALLOC
> Date: Fri, 28 Nov 2025 08:54:22 +0100 [thread overview]
> Message-ID: <20251128075426.628500-1-tim@xxxxxxxxx> (raw)
>
> intel-thc-dma.c uses sgl_alloc() resulting in a build failure if CONFIG_SGL_ALLOC is not enabled
>
> Signed-off-by: Tim Zimmermann <tim@xxxxxxxxx>
> ---
> drivers/hid/intel-thc-hid/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/intel-thc-hid/Kconfig b/drivers/hid/intel-thc-hid/Kconfig
> index 0351d1137607..9d74e53b8c62 100644
> --- a/drivers/hid/intel-thc-hid/Kconfig
> +++ b/drivers/hid/intel-thc-hid/Kconfig
> @@ -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!
Reviewed-by: Even Xu <even.xu@xxxxxxxxx>
> --
> 2.51.0