1. 10 5月, 2018 1 次提交
  2. 10 4月, 2018 4 次提交
  3. 31 3月, 2018 2 次提交
  4. 27 3月, 2018 2 次提交
  5. 03 2月, 2018 2 次提交
  6. 01 2月, 2018 2 次提交
    • M
      Input: goodix - use generic touchscreen_properties · fafef982
      Marcin Niestroj 提交于
      Use touchscreen_properties structure instead of implementing all
      properties by our own. It allows us to reuse generic code for parsing
      device-tree properties (which was implemented manually in the driver for
      now). Additionally, it allows us to report events using generic
      touchscreen_report_pos(), which automatically handles inverted and
      swapped axes.
      
      This fixes the issue with the custom code incorrectly handling case where
      ts->inverted_x and ts->swapped_x_y were true, but ts->inverted_y was
      false. Assuming we have 720x1280 touch panel, ts->abs_x_max == 1279 and
      ts->abs_y_max == 719 (because we inverted that in goodix_read_config()).
      Now let's assume that we received event from (0:0) position (in touch
      panel original coordinates). In function goodix_ts_report_touch() we
      calculate input_x as 1279, but after swapping input_y takes that value
      (which is more that maximum 719 value reported during initialization).
      
      Note that since touchscreen coordinates are 0-indexed, we now report
      touchscreen range as (0:size-1).
      
      Developed and tested on custom DT-based device with gt1151 touch
      panel.
      Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com>
      [dtor: fix endianness annotation reported by sparse, handle errors when
       initializing MT slots]
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      fafef982
    • A
      Input: mms114 - fix typo in definition · 13e94540
      Andi Shyti 提交于
      It's 'MMS114_INFORMATION', not 'MMS114_INFOMATION'
      Signed-off-by: NAndi Shyti <andi.shyti@samsung.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      13e94540
  7. 31 1月, 2018 2 次提交
  8. 27 1月, 2018 4 次提交
  9. 25 1月, 2018 1 次提交
  10. 23 1月, 2018 7 次提交
  11. 20 1月, 2018 1 次提交
  12. 18 1月, 2018 1 次提交
  13. 17 1月, 2018 1 次提交
  14. 12 1月, 2018 1 次提交
  15. 11 1月, 2018 1 次提交
  16. 10 1月, 2018 1 次提交
  17. 09 1月, 2018 2 次提交
  18. 06 1月, 2018 1 次提交
  19. 19 12月, 2017 1 次提交
  20. 30 11月, 2017 1 次提交
    • D
      Input: elants_i2c - do not clobber interrupt trigger on x86 · 4c83c071
      Dmitry Torokhov 提交于
      This is similar to commit a4b0a58b ("Input: elan_i2c - do not
      clobber interrupt trigger on x86")
      
      On x86 we historically used falling edge interrupts in the driver
      because that's how first Chrome devices were configured. They also
      did not use ACPI to enumerate I2C devices (because back then there
      was no kernel support for that), so trigger was hard-coded in the
      driver. However the controller behavior is much more reliable if
      we use level triggers, and that is how we configured ARM devices,
      and how want to configure newer x86 devices as well. All newer
      x86 boxes have their I2C devices enumerated in ACPI.
      
      Let's see if platform code (ACPI, DT) described interrupt and
      specified particular trigger type, and if so, let's use it instead
      of always clobbering trigger with IRQF_TRIGGER_FALLING. We will
      still use this trigger type as a fallback if platform code left
      interrupt trigger unconfigured.
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      4c83c071
  21. 22 11月, 2017 1 次提交
    • K
      treewide: Switch DEFINE_TIMER callbacks to struct timer_list * · 24ed960a
      Kees Cook 提交于
      This changes all DEFINE_TIMER() callbacks to use a struct timer_list
      pointer instead of unsigned long. Since the data argument has already been
      removed, none of these callbacks are using their argument currently, so
      this renames the argument to "unused".
      
      Done using the following semantic patch:
      
      @match_define_timer@
      declarer name DEFINE_TIMER;
      identifier _timer, _callback;
      @@
      
       DEFINE_TIMER(_timer, _callback);
      
      @change_callback depends on match_define_timer@
      identifier match_define_timer._callback;
      type _origtype;
      identifier _origarg;
      @@
      
       void
      -_callback(_origtype _origarg)
      +_callback(struct timer_list *unused)
       { ... }
      Signed-off-by: NKees Cook <keescook@chromium.org>
      24ed960a
  22. 11 11月, 2017 1 次提交