Skip to contentSkip to conversation

HID: Intel-thc-hid: Fix REGMAP dependency

PATCH Applied Mathias Krause 3 participants 3 messages Nov 5 – Nov 19

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

PATCH 1/1 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")
---
 drivers/hid/intel-thc-hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/intel-thc-hid/Kconfig +1 -0
index 9d74e53b8c62..57a1e51cb512 100644
@@ -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
Signature · 1 line
2.47.3
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 27 lines

-----Original Message-----
From: Mathias Krause <[email protected]>
Sent: Friday, November 6, 2026 1:01 AM
To: Xu, Even <[email protected]>; Sun, Xinpeng <[email protected]>; Jiri Kosina <[email protected]>; Benjamin Tissoires <[email protected]>
Cc: [email protected]; [email protected]; Mathias Krause <[email protected]>
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")
---
 drivers/hid/intel-thc-hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/intel-thc-hid/Kconfig +0 -0
index 9d74e53b8c62..57a1e51cb512 100644

drivers/hid/intel-thc-hid/Kconfig config INTEL_THC_HID · line 14

Quoted 7 lines
drivers/hid/intel-thc-hid/Kconfig +1 -0
@@ -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!

Quoted 2 lines

--
2.47.3

maintainer Applied
#2 lore raw
In reply to Mathias Krause
Quoted 7 lines · 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")

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs