summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/imx_keypad.c
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2019-06-09 20:16:51 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-06-09 20:32:54 +0300
commita876697b0ad1cba4d56c72395b330691aafa1593 (patch)
treef389c95d54f3fc3e77b55762781336797c811e5a /drivers/input/keyboard/imx_keypad.c
parent7c7da40da1640ce6814dab1e8031b44e19e5a3f6 (diff)
downloadlinux-a876697b0ad1cba4d56c72395b330691aafa1593.tar.xz
Input: iqs5xx - get axis info before calling input_mt_init_slots()
Calling input_mt_init_slots() copies ABS_MT_POSITION_X to ABS_X and so on, but doing so before calling touchscreen_parse_properties() leaves ABS_X min = max = 0 which may prompt an X server to ignore the device. To solve this problem, wait to call input_mt_init_slots() until all absolute axis information has been resolved (whether that's through device tree via touchscreen_parse_properties() or from reading from the device directly). Signed-off-by: Jeff LaBundy <jeff@labundy.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/imx_keypad.c')
0 files changed, 0 insertions, 0 deletions