linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hid: intel-thc-hid: Select SGL_ALLOC
@ 2025-11-28  7:54 Tim Zimmermann
  2025-12-22  2:55 ` Even Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Zimmermann @ 2025-11-28  7:54 UTC (permalink / raw)
  Cc: tim, Even Xu, Xinpeng Sun, Jiri Kosina, Benjamin Tissoires,
	linux-input, linux-kernel

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@linux4.de>
---
 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
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] hid: intel-thc-hid: Select SGL_ALLOC
  2025-11-28  7:54 [PATCH] hid: intel-thc-hid: Select SGL_ALLOC Tim Zimmermann
@ 2025-12-22  2:55 ` Even Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Even Xu @ 2025-12-22  2:55 UTC (permalink / raw)
  To: tim; +Cc: bentiss, even.xu, jikos, linux-input, linux-kernel, xinpeng.sun

From: "Xu, Even" <even.xu@intel.com>

> From: Tim Zimmermann <tim@linux4.de>
> Cc: tim@linux4.de, Even Xu <even.xu@intel.com>,
> 	Xinpeng Sun <xinpeng.sun@intel.com>,
> 	Jiri Kosina <jikos@kernel.org>,
> 	Benjamin Tissoires <bentiss@kernel.org>,
> 	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
> 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@linux4.de> (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@linux4.de>
> ---
>  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@intel.com>

> -- 
> 2.51.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-22  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  7:54 [PATCH] hid: intel-thc-hid: Select SGL_ALLOC Tim Zimmermann
2025-12-22  2:55 ` Even Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).