diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2016-03-11 02:47:28 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-11 03:04:03 +0300 |
commit | ff8f83708b3e36c050dc3fd7e2f04ea7f1752599 (patch) | |
tree | d7b6603c447a1cb36af8452e541ed9b4cf6659f9 /drivers/input/rmi4/rmi_bus.c | |
parent | d8a8b3edfd922e3886684a3434bd2b752167ff29 (diff) | |
download | linux-ff8f83708b3e36c050dc3fd7e2f04ea7f1752599.tar.xz |
Input: synaptics-rmi4 - add support for 2D sensors and F11
RMI4 currently defines two functions for reporting data for 2D sensors
(F11 and F12). This patch adds the common functionality which is shared
by devices with 2D reporting along with implementing functionality for
F11.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_bus.c')
-rw-r--r-- | drivers/input/rmi4/rmi_bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c index 434477ea0c4e..2e3878343961 100644 --- a/drivers/input/rmi4/rmi_bus.c +++ b/drivers/input/rmi4/rmi_bus.c @@ -306,6 +306,9 @@ struct bus_type rmi_bus_type = { static struct rmi_function_handler *fn_handlers[] = { &rmi_f01_handler, +#ifdef CONFIG_RMI4_F11 + &rmi_f11_handler, +#endif }; static void __rmi_unregister_function_handlers(int start_idx) |