1. 19 May, 2016 2 commits
    • Arnd Bergmann's avatar
      Input: migor-ts - mark PM functions as __maybe_unused · c32feb03
      Arnd Bergmann authored
      The migor touchscreen driver is now available for COMPILE_TEST,
      so we run into a harmless randconfig warning on ARM when CONFIG_PM
      is disabled:
      
      drivers/input/touchscreen/migor_ts.c:216:12: error: 'migor_ts_resume' defined but not used [-Werror=unused-function]
      drivers/input/touchscreen/migor_ts.c:205:12: error: 'migor_ts_suspend' defined but not used [-Werror=unused-function]
      
      This shuts up the warning by marking the two functions as __maybe_unused.
      We could do the same thing by adding an #ifdef, but this version is
      more reliable.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c32feb03
    • Arnd Bergmann's avatar
      Input: atmel_captouch - add dependence on i2c · 14f935f9
      Arnd Bergmann authored
      The newly added Atmal captouch driver fails to build when CONFIG_I2C
      is disabled:
      
      drivers/input/misc/atmel_captouch.c: In function 'atmel_read':
      drivers/input/misc/atmel_captouch.c:115:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]
      
      This adds an explicit Kconfig dependency to prevent the broken
      configuration.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: b06d43f7 ("Input: add Atmel Captouch Button driver")
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      14f935f9
  2. 18 May, 2016 3 commits
  3. 10 May, 2016 1 commit
  4. 04 May, 2016 2 commits
  5. 29 Apr, 2016 2 commits
  6. 25 Apr, 2016 1 commit
  7. 20 Apr, 2016 1 commit
  8. 06 Apr, 2016 1 commit
  9. 05 Apr, 2016 4 commits
  10. 31 Mar, 2016 5 commits
  11. 24 Mar, 2016 2 commits
  12. 18 Mar, 2016 3 commits
  13. 17 Mar, 2016 1 commit
  14. 16 Mar, 2016 1 commit
  15. 15 Mar, 2016 3 commits
    • Arnd Bergmann's avatar
      ARM: pxa/raumfeld: use PROPERTY_ENTRY_INTEGER to define props · 4d2508a5
      Arnd Bergmann authored
      gcc-6.0 notices that the use of the property_entry in this file that
      was recently introduced cannot work right, as we initialize the wrong
      field:
      
      raumfeld.c:387:3: error: the address of 'raumfeld_rotary_encoder_steps' will always evaluate as 'true' [-Werror=address]
         DEV_PROP_U32, 1, &raumfeld_rotary_encoder_steps, },
         ^~~~~~~~~~~~
      raumfeld.c:389:3: error: the address of 'raumfeld_rotary_encoder_axis' will always evaluate as 'true' [-Werror=address]
         DEV_PROP_U32, 1, &raumfeld_rotary_encoder_axis, },
         ^~~~~~~~~~~~
      raumfeld.c:391:3: error: the address of 'raumfeld_rotary_encoder_relative_axis' will always evaluate as 'true' [-Werror=address]
         DEV_PROP_U32, 1, &raumfeld_rotary_encoder_relative_axis, },
         ^~~~~~~~~~~~
      
      The problem appears to stem from relying on an old definition of
      'struct property', but it has changed several times since the code
      could have last been correct.
      
      This changes the code to use the PROPERTY_ENTRY_INTEGER() macro instead,
      which works fine for the current definition and is a safer way of doing
      the initialization.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: a9e340dc ("Input: rotary_encoder - move away from platform data structure")
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      4d2508a5
    • Dmitry Torokhov's avatar
      Merge tag 'v4.5' into next · 245f0db0
      Dmitry Torokhov authored
      Merge with Linux 4.5 to get PROPERTY_ENTRY_INTEGER() that is needed to
      fix pxa/raumfeld rotary encoder properties.
      245f0db0
    • Dan Carpenter's avatar
      Input: synaptics-rmi4 - using logical instead of bitwise AND · 24672bdf
      Dan Carpenter authored
      There is a typo so we have && instead of &.
      
      Fixes: ff8f8370 ('Input: synaptics-rmi4 - add support for 2D sensors and F11')
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarAndrew Duggan <aduggan@synaptics.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      24672bdf
  16. 14 Mar, 2016 2 commits
  17. 13 Mar, 2016 6 commits