Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Dec 2020 17:41:33 +0000 (09:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Dec 2020 17:41:33 +0000 (09:41 -0800)
Pull input fixes from Dmitry Torokhov:

 - a fix for cm109 stomping on its own control URB if it tries to toggle
   buzzer immediately after userspace opens input device (found by
   syzcaller)

 - another fix for Raydium touchscreens that do not like splitting
   command transfers

 - quirks for i8042, soc_button_array, and goodix drivers to make them
   work better with certain hardware.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
  Input: cm109 - do not stomp on control URB
  Input: i8042 - add Acer laptops to the i8042 reset list
  Input: cros_ec_keyb - send 'scancodes' in addition to key events
  Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list
  Input: raydium_ts_i2c - do not split tx transactions

1  2 
drivers/input/keyboard/cros_ec_keyb.c

@@@ -183,6 -183,7 +183,7 @@@ static void cros_ec_keyb_process(struc
                                        "changed: [r%d c%d]: byte %02x\n",
                                        row, col, new_state);
  
+                               input_event(idev, EV_MSC, MSC_SCAN, pos);
                                input_report_key(idev, keycodes[pos],
                                                 new_state);
                        }
@@@ -348,7 -349,7 +349,7 @@@ static int cros_ec_keyb_info(struct cro
        params->event_type = event_type;
  
        ret = cros_ec_cmd_xfer_status(ec_dev, msg);
 -      if (ret == -ENOTSUPP) {
 +      if (ret == -ENOPROTOOPT) {
                /* With older ECs we just return 0 for everything */
                memset(result, 0, result_size);
                ret = 0;