1. 16 Mar, 2015 1 commit
  2. 09 Mar, 2015 14 commits
  3. 07 Mar, 2015 4 commits
  4. 04 Mar, 2015 2 commits
  5. 02 Mar, 2015 3 commits
    • Arnd Bergmann's avatar
      Input: sun4i-ts - add thermal driver dependency · 4a6155a4
      Arnd Bergmann authored
      The sun4i-ts driver has had a dependency on the thermal code
      with the addition of the thermal zone sensor support, but this
      is not currently enforced in Kconfig, so with TOUCHSCREEN_SUN4I=y,
      THERMAL=m and THERMAL_OF=y we get
      
      drivers/built-in.o: In function `sun4i_ts_remove':
      :(.text+0x2376f4): undefined reference to `thermal_zone_of_sensor_unregister'
      drivers/built-in.o: In function `sun4i_ts_probe':
      :(.text+0x237a94): undefined reference to `thermal_zone_of_sensor_register'
      :(.text+0x237c00): undefined reference to `thermal_zone_of_sensor_unregister'
      
      We need the dependency on THERMAL in order to ensure that this
      driver becomes a loadable module if the thermal support itself
      is modular, while the dependency on THERMAL_OF is a runtime
      dependency and the driver will still build if it is missing.
      It is entirely possible to build sun4i-ts without THERMAL_OF
      just to use the hwmon sensors and/or touchscreen.
      
      Fixes: 22369710 ("Input: sun4i-ts - add thermal zone sensor support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      [wens@csie.org: Fix description and Kconfig dependencies]
      Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      4a6155a4
    • Geert Uytterhoeven's avatar
      Input: cyapa - remove superfluous type check in cyapa_gen5_read_idac_data() · 2523caab
      Geert Uytterhoeven authored
      drivers/input/mouse/cyapa_gen5.c: In function ‘cyapa_gen5_read_idac_data’:
      drivers/input/mouse/cyapa_gen5.c:1876: warning: ‘max_element_cnt’ may be used uninitialized in this function
      drivers/input/mouse/cyapa_gen5.c:1873: warning: ‘offset’ may be used uninitialized in this function
      
      If *data_size is non-zero, and idac_data_type contains an unknown type,
      max_element_cnt and offset will be uninitialized, and the loop will
      process non-existing data.
      
      However, this cannot happen (for now), as there's a test for unknown
      types at the top of cyapa_gen5_read_idac_data().
      
      As no "if ... else if ..." is used in other places, remove the
      superfluous "if" to silence the compiler warning.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarDudley Du <dudl@cypress.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      2523caab
    • Dudley Du's avatar
      Input: cyapa - fix unaligned functions redefinition error · 17a28055
      Dudley Du authored
      Use asm/unaligned.h instead of linux/unaligned/access_ok.h header file to
      fix compiling issues such as following while doing cross platform
      compiling:
      
      "include/linux/unaligned/access_ok.h:7:19: error: redefinition of
       'get_unaligned_le16'
      ...
      include/linux/unaligned/le_struct.h:6:19: note: previous definition of
       'get_unaligned_le16' was here".
      Reported-by: default avatarkbuild test robot <kbuild-all@01.org>
      Signed-off-by: default avatarDudley Du <dudl@cypress.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      17a28055
  6. 26 Feb, 2015 1 commit
  7. 20 Feb, 2015 1 commit
  8. 16 Feb, 2015 11 commits
  9. 15 Feb, 2015 3 commits