summaryrefslogtreecommitdiff
path: root/drivers/mfd/max8998-irq.c
diff options
context:
space:
mode:
authorAaron Armstrong Skomra <skomra@gmail.com>2019-06-12 14:19:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-21 07:15:26 +0200
commit4e268e9c404a3565acfdc21af71e3bce5531b839 (patch)
tree0bb7b5cba310d791a561bf3f505bb7ec0b89a0e8 /drivers/mfd/max8998-irq.c
parentb10ab5e2c476b69689bc0c46d309471b597c880c (diff)
HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
commit 184eccd40389df29abefab88092c4ff33191fd0c upstream. In the generic code path, HID_DG_CONTACTMAX was previously only read from the second byte of report 0x23. Another report (0x82) has the HID_DG_CONTACTMAX in the higher nibble of the third byte. We should support reading the value of HID_DG_CONTACTMAX no matter what report we are reading or which position that value is in. To do this we submit the feature report as a event report using hid_report_raw_event(). Our modified finger event path records the value of HID_DG_CONTACTMAX when it sees that usage. Fixes: 8ffffd5212846 ("HID: wacom: fix timeout on probe for some wacoms") Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/max8998-irq.c')
0 files changed, 0 insertions, 0 deletions