* [PATCH] HID: Intel-thc-hid: Fix REGMAP dependency
@ 2026-11-05 17:01 Mathias Krause
2026-11-09 2:07 ` Xu, Even
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Krause @ 2026-11-05 17:01 UTC (permalink / raw)
To: Even Xu, Xinpeng Sun, Jiri Kosina, Benjamin Tissoires
Cc: linux-input, linux-kernel, Mathias Krause
intel-thc-{dev,dma}.c make use of the regmap API and related data
structures, breaking the build if CONFIG_REGMAP isn't set.
Fix that by forcibly enabling REGMAP when this driver gets build.
Fixes: 1b2d05384c29 ("HID: intel-thc-hid: Add basic THC driver skeleton")
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
---
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 9d74e53b8c62..57a1e51cb512 100644
--- a/drivers/hid/intel-thc-hid/Kconfig
+++ b/drivers/hid/intel-thc-hid/Kconfig
@@ -8,6 +8,7 @@ config INTEL_THC_HID
tristate "Intel Touch Host Controller"
depends on ACPI
select SGL_ALLOC
+ select REGMAP
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.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] HID: Intel-thc-hid: Fix REGMAP dependency
2026-11-05 17:01 [PATCH] HID: Intel-thc-hid: Fix REGMAP dependency Mathias Krause
@ 2026-11-09 2:07 ` Xu, Even
0 siblings, 0 replies; 2+ messages in thread
From: Xu, Even @ 2026-11-09 2:07 UTC (permalink / raw)
To: Mathias Krause, Sun, Xinpeng, Jiri Kosina, Benjamin Tissoires
Cc: linux-input, linux-kernel
> -----Original Message-----
> From: Mathias Krause <minipli@grsecurity.net>
> Sent: Friday, November 6, 2026 1:01 AM
> To: Xu, Even <even.xu@intel.com>; Sun, Xinpeng <xinpeng.sun@intel.com>; Jiri
> Kosina <jikos@kernel.org>; Benjamin Tissoires <bentiss@kernel.org>
> Cc: linux-input@vger.kernel.org; linux-kernel@vger.kernel.org; Mathias Krause
> <minipli@grsecurity.net>
> Subject: [PATCH] HID: Intel-thc-hid: Fix REGMAP dependency
>
> intel-thc-{dev,dma}.c make use of the regmap API and related data structures,
> breaking the build if CONFIG_REGMAP isn't set.
>
> Fix that by forcibly enabling REGMAP when this driver gets build.
>
> Fixes: 1b2d05384c29 ("HID: intel-thc-hid: Add basic THC driver skeleton")
> Signed-off-by: Mathias Krause <minipli@grsecurity.net>
> ---
> 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 9d74e53b8c62..57a1e51cb512 100644
> --- a/drivers/hid/intel-thc-hid/Kconfig
> +++ b/drivers/hid/intel-thc-hid/Kconfig
> @@ -8,6 +8,7 @@ config INTEL_THC_HID
> tristate "Intel Touch Host Controller"
> depends on ACPI
> select SGL_ALLOC
> + select REGMAP
> 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.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-09 2:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 17:01 [PATCH] HID: Intel-thc-hid: Fix REGMAP dependency Mathias Krause
2026-11-09 2:07 ` Xu, Even
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®