]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'v4.0-rc5' into next
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Mar 2015 16:18:27 +0000 (09:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Mar 2015 16:18:27 +0000 (09:18 -0700)
Merge with the latest upstream to synchronize Synaptics changes
and bring in new infrastructure pieces.

Conflicts:
drivers/input/mouse/synaptics.c

1  2 
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h
drivers/input/touchscreen/Kconfig
include/uapi/linux/input.h

index 943ed01f9fe59e48e74055284e7f5ebc2b3b4313,fae26d014aaf25c83f499889969e1cb017491f34..c862cf94c9c8780768dcf603f21394c1d866f318
@@@ -63,9 -75,9 +75,10 @@@ fsl  Freescale Semiconducto
  GEFanuc       GE Fanuc Intelligent Platforms Embedded Systems, Inc.
  gef   GE Fanuc Intelligent Platforms Embedded Systems, Inc.
  geniatech     Geniatech, Inc.
+ giantplus     Giantplus Technology Co., Ltd.
  globalscale   Globalscale Technologies, Inc.
  gmt   Global Mixed-mode Technology, Inc.
 +goodix        Shenzhen Huiding Technology Co., Ltd.
  google        Google, Inc.
  gumstix       Gumstix, Inc.
  gw    Gateworks Corporation
Simple merge
index 4c69e3304011d936ddc01b3f4a64e97cd0ebd353,dda605836546847afbdbdd4c77c976134a914a2e..d73a94270211041293c140b9144300621dcba9af
@@@ -612,6 -670,20 +677,18 @@@ static void synaptics_parse_agm(const u
        }
  }
  
 -static bool is_forcepad;
 -
+ static void synaptics_parse_ext_buttons(const unsigned char buf[],
+                                       struct synaptics_data *priv,
+                                       struct synaptics_hw_state *hw)
+ {
+       unsigned int ext_bits =
+               (SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap) + 1) >> 1;
+       unsigned int ext_mask = GENMASK(ext_bits - 1, 0);
+       hw->ext_buttons = buf[4] & ext_mask;
+       hw->ext_buttons |= (buf[5] & ext_mask) << ext_bits;
+ }
  static int synaptics_parse_hw_state(const unsigned char buf[],
                                    struct synaptics_data *priv,
                                    struct synaptics_hw_state *hw)
Simple merge
Simple merge
Simple merge