summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2017-10-25 19:30:16 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-10-28 01:15:59 +0300
commit3e64fcbdbd10e46dede502d507dbcc104837cd59 (patch)
treeece39dc5ac2621ed847b6257bc9be61e30588eee /Makefile
parenta50829479f58416a013a4ccca791336af3c584c7 (diff)
downloadlinux-3e64fcbdbd10e46dede502d507dbcc104837cd59.tar.xz
Input: synaptics-rmi4 - limit the range of what GPIOs are buttons
By convention the first 6 bits of F30 Ctrl 2 and 3 are used to signify GPIOs which are connected to buttons. Additional GPIOs may be used as input GPIOs to signal the touch controller of some event (ie disable touchpad). These additional GPIOs may meet the criteria of a button in rmi_f30_is_valid_button() but should not be considered buttons. This patch limits the GPIOs which are mapped to buttons to just the first 6. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Reported-by: Daniel Martin <consume.noise@gmail.com> Tested-by: Daniel Martin <consume.noise@gmail.com> Acked-By: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions