]> Git Repo - linux.git/commit
Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the button count
authorBenjamin Tissoires <[email protected]>
Wed, 1 Mar 2017 08:57:00 +0000 (09:57 +0100)
committerLinus Torvalds <[email protected]>
Wed, 1 Mar 2017 18:01:56 +0000 (10:01 -0800)
commit522214d9be9c9f00f34ed89cb95e901b7ac31c59
tree7329ec47b24cec04055addd9a05f5ea7b323f495
parent044d5dfd6262d0ef91f6f5b19e3973f82fc7e1d2
Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the button count

INPUT_PROP_BUTTONPAD is currently only set through the platform data.
The RMI4 header doc says that this property is there to force the
buttonpad property, so we also need to detect it by looking at
the exported buttons count.

Signed-off-by: Benjamin Tissoires <[email protected]>
Reported-and-tested-by: Linus Torvalds <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/input/rmi4/rmi_f30.c
This page took 0.056079 seconds and 4 git commands to generate.