diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-11-29 17:42:13 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-11-30 09:03:13 -0800 |
commit | a64ea311f1e4bc090c89960650637423e86c35c0 (patch) | |
tree | a273f1a5be6b21b2326de22ceb58e6c07a65fb93 /include/linux/rmi.h | |
parent | 0d37d63a001202b4932f6b14b05d8d055a0a45b6 (diff) |
Input: synaptics-rmi4 - add rmi_enable/disable_irq
Set the .enabled boolean and trigger an event processing when enabling
for edge-triggered systems.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rmi.h')
-rw-r--r-- | include/linux/rmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h index 0b118ab47b8d..621f098f1243 100644 --- a/include/linux/rmi.h +++ b/include/linux/rmi.h @@ -356,6 +356,7 @@ struct rmi_driver_data { u8 num_tx_electrodes; bool enabled; + struct mutex enabled_mutex; }; int rmi_register_transport_device(struct rmi_transport_dev *xport); |