summaryrefslogtreecommitdiffstats
path: root/drivers/input/rmi4/rmi_bus.c
diff options
context:
space:
mode:
authorNick Dyer <nick@shmanahar.org>2016-11-23 02:44:12 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-23 02:59:23 +0100
commit29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0 (patch)
tree5975ca58b4d44fb37eb2dda07577350910f60726 /drivers/input/rmi4/rmi_bus.c
parentInput: synaptics-rmi4 - unlock on error (diff)
downloadlinux-29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0.tar.xz
linux-29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0.zip
Input: synaptics-rmi4 - add support for F34 device reflash
Add support for updating firmware, triggered by a sysfs attribute. This patch has been tested on Synaptics S7300. Signed-off-by: Nick Dyer <nick@shmanahar.org> Tested-by: Chris Healy <cphealy@gmail.com> 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c
index 84b321262d74..ef7a66230d83 100644
--- a/drivers/input/rmi4/rmi_bus.c
+++ b/drivers/input/rmi4/rmi_bus.c
@@ -315,6 +315,9 @@ static struct rmi_function_handler *fn_handlers[] = {
#ifdef CONFIG_RMI4_F30
&rmi_f30_handler,
#endif
+#ifdef CONFIG_RMI4_F34
+ &rmi_f34_handler,
+#endif
#ifdef CONFIG_RMI4_F54
&rmi_f54_handler,
#endif