summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/rmi_bus.c
diff options
context:
space:
mode:
authorNick Dyer <nick@shmanahar.org>2016-07-19 00:10:37 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-23 22:33:54 +0300
commit3a762dbd5347514c3cb2ac756a92a3d1c7646a2d (patch)
tree005779a4c775602ec6dc090f04366e5ba20b7039 /drivers/input/rmi4/rmi_bus.c
parent06b3d3f38c19601564cdd10443edbcac5c8293e2 (diff)
downloadlinux-3a762dbd5347514c3cb2ac756a92a3d1c7646a2d.tar.xz
[media] Input: synaptics-rmi4 - add support for F54 diagnostics
Function 54 implements access to various RMI4 diagnostic features. This patch adds support for retrieving this data. It registers a V4L2 device to output the data to user space. Signed-off-by: Nick Dyer <nick@shmanahar.org> Tested-by: Andrew Duggan <aduggan@synaptics.com> Tested-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-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 a73580654c6b..09c769c6e91f 100644
--- a/drivers/input/rmi4/rmi_bus.c
+++ b/drivers/input/rmi4/rmi_bus.c
@@ -312,6 +312,9 @@ static struct rmi_function_handler *fn_handlers[] = {
#ifdef CONFIG_RMI4_F30
&rmi_f30_handler,
#endif
+#ifdef CONFIG_RMI4_F54
+ &rmi_f54_handler,
+#endif
};
static void __rmi_unregister_function_handlers(int start_idx)