Merge tag 'v5.2' into next
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Jul 2019 16:42:32 +0000 (09:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Jul 2019 16:42:32 +0000 (09:42 -0700)
Sync up with mainline to resolve conflicts in iforce driver.

25 files changed:
1  2 
drivers/hid/hid-quirks.c
drivers/input/joydev.c
drivers/input/joystick/iforce/Kconfig
drivers/input/joystick/iforce/Makefile
drivers/input/joystick/iforce/iforce-ff.c
drivers/input/joystick/iforce/iforce-main.c
drivers/input/joystick/iforce/iforce-packets.c
drivers/input/joystick/iforce/iforce-serio.c
drivers/input/joystick/iforce/iforce-usb.c
drivers/input/joystick/iforce/iforce.h
drivers/input/keyboard/gpio_keys.c
drivers/input/keyboard/gpio_keys_polled.c
drivers/input/keyboard/imx_keypad.c
drivers/input/keyboard/mtk-pmic-keys.c
drivers/input/keyboard/sun4i-lradc-keys.c
drivers/input/misc/da9063_onkey.c
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h
drivers/input/mouse/synaptics.c
drivers/input/rmi4/rmi_f12.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/input/touchscreen/auo-pixcir-ts.c
drivers/input/touchscreen/eeti_ts.c
drivers/input/touchscreen/iqs5xx.c

Simple merge
Simple merge
Simple merge
@@@ -6,22 -7,8 +7,9 @@@
   */
  
  /*
-  * This program is free software; you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation; either version 2 of the License, or
-  * (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program; if not, write to the Free Software
-  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   */
  
 +#include <asm/unaligned.h>
  #include "iforce.h"
  
  MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>, Johann Deneux <johann.deneux@gmail.com>");
@@@ -6,22 -7,8 +7,9 @@@
   */
  
  /*
-  * This program is free software; you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation; either version 2 of the License, or
-  * (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program; if not, write to the Free Software
-  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   */
  
 +#include <asm/unaligned.h>
  #include "iforce.h"
  
  static struct {
@@@ -6,41 -7,12 +7,28 @@@
   */
  
  /*
-  * This program is free software; you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation; either version 2 of the License, or
-  * (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program; if not, write to the Free Software
-  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   */
  
 +#include <linux/serio.h>
  #include "iforce.h"
  
 -void iforce_serial_xmit(struct iforce *iforce)
 +struct iforce_serio {
 +      struct iforce iforce;
 +
 +      struct serio *serio;
 +      int idx, pkt, len, id;
 +      u8 csum;
 +      u8 expect_packet;
 +      u8 cmd_response[IFORCE_MAX_LENGTH];
 +      u8 cmd_response_len;
 +      u8 data_in[IFORCE_MAX_LENGTH];
 +};
 +
 +static void iforce_serio_xmit(struct iforce *iforce)
  {
 +      struct iforce_serio *iforce_serio = container_of(iforce,
 +                                                       struct iforce_serio,
 +                                                       iforce);
        unsigned char cs;
        int i;
        unsigned long flags;
@@@ -6,39 -7,12 +7,26 @@@
   */
  
  /*
-  * This program is free software; you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation; either version 2 of the License, or
-  * (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program; if not, write to the Free Software
-  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   */
  
 +#include <linux/usb.h>
  #include "iforce.h"
  
 -void iforce_usb_xmit(struct iforce *iforce)
 +struct iforce_usb {
 +      struct iforce iforce;
 +
 +      struct usb_device *usbdev;
 +      struct usb_interface *intf;
 +      struct urb *irq, *out;
 +
 +      u8 data_in[IFORCE_MAX_LENGTH] ____cacheline_aligned;
 +      u8 data_out[IFORCE_MAX_LENGTH] ____cacheline_aligned;
 +};
 +
 +static void __iforce_usb_xmit(struct iforce *iforce)
  {
 +      struct iforce_usb *iforce_usb = container_of(iforce, struct iforce_usb,
 +                                                   iforce);
        int n, c;
        unsigned long flags;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -178,8 -175,9 +175,10 @@@ static const char * const smbus_pnp_ids
        "LEN0092", /* X1 Carbon 6 */
        "LEN0096", /* X280 */
        "LEN0097", /* X280 -> ALPS trackpoint */
 +      "LEN009b", /* T580 */
        "LEN200f", /* T450s */
+       "LEN2054", /* E480 */
+       "LEN2055", /* E580 */
        "SYN3052", /* HP EliteBook 840 G4 */
        "SYN3221", /* HP 15-ay000 */
        NULL
Simple merge
Simple merge
Simple merge