]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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
index 40eb65bfd57e715770c8d26dfbe675eb48d454d7,55f5b7bb4cac9284128892670ea626f4d62eb6de..9a5f90da06ec0b2ae943cfab181acdb4d4dde4fd
@@@ -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>");
index 76c4475740ab6f8368fe06cd846a16ba90b92d8a,42cd9730e4cc7efa7b7a6a4a66a245c8157fb5a4..b313e38b2c3a83436a514a7a241ec84d174e1052
@@@ -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 {
index e7692a38591e981c3ca43bdfb32d175cf64f1397,65a4fe26324fe752b7fc55100876cbb947ae9744..bbe31e0b759fcfd032bf195eba6c7f8b7605f03f
@@@ -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;
index 75a2b0ea37b4589b9ff011ce9b82ead93391af52,f1569ae8381bcb8f5a9e044e4f905c09056367af..ade376bfb79f5b5430db68741c6fd9068a0007c1
@@@ -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
index 12313424e97d4d15da8008b1ed2a6997fab3b7bf,b8ec301025b7c7a88b17dff84925234f97d4077d..b77b18c9ad024c09fee7cebd2aeb77ab12521a8a
@@@ -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