Skip to contentSkip to conversation

HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

PATCH Superseded Andrew Duggan 1 participant 1 message Feb 3, 2016 HID

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 10/10 HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core.

---
 drivers/hid/Kconfig   |   2 +-
 drivers/hid/hid-rmi.c | 891 +++++---------------------------------------------
 2 files changed, 75 insertions(+), 818 deletions(-)
drivers/hid/Kconfig +1 -1
index 513a16c..9cba717 100644
@@ -740,7 +740,7 @@ config HID_SUNPLUS
 
 config HID_RMI
 	tristate "Synaptics RMI4 device support"
-	depends on HID
+	depends on HID && RMI4_CORE
 	---help---
 	Support for Synaptics RMI4 touchpads.
 	Say Y here if you have a Synaptics RMI4 touchpads over i2c-hid or usbhid
drivers/hid/hid-rmi.c +74 -817

1,049 lines not on this page · raw message

Signature · 1 line
2.5.0