diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2017-03-01 11:57:00 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-01 21:01:56 +0300 |
commit | 522214d9be9c9f00f34ed89cb95e901b7ac31c59 (patch) | |
tree | 7329ec47b24cec04055addd9a05f5ea7b323f495 /arch/powerpc/xmon/ppc-opc.c | |
parent | 044d5dfd6262d0ef91f6f5b19e3973f82fc7e1d2 (diff) | |
download | linux-522214d9be9c9f00f34ed89cb95e901b7ac31c59.tar.xz |
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 <benjamin.tissoires@redhat.com>
Reported-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/xmon/ppc-opc.c')
0 files changed, 0 insertions, 0 deletions