1. 03 6月, 2015 2 次提交
    • D
      Input: focaltech - report finger width to userspace · 85919a00
      Dmitry Tunin 提交于
      Focaltech touchpads report finger width in packet[5] of absolute packet.
      Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0.
      0xff is reported, when a large contact area is detected.
      This can be handled in userspace.
      Signed-off-by: NDmitry Tunin <hanipouspilot@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      85919a00
    • A
      tty: remove platform_sysrq_reset_seq · ffb6e0c9
      Arnd Bergmann 提交于
      The platform_sysrq_reset_seq code was intended as a way for an embedded
      platform to provide its own sysrq sequence at compile time. After over two
      years, nobody has started using it in an upstream kernel, and the platforms
      that were interested in it have moved on to devicetree, which can be used
      to configure the sequence without requiring kernel changes. The method is
      also incompatible with the way that most architectures build support for
      multiple platforms into a single kernel.
      
      Now the code is producing warnings when built with gcc-5.1:
      
      drivers/tty/sysrq.c: In function 'sysrq_init':
      drivers/tty/sysrq.c:959:33: warning: array subscript is above array bounds [-Warray-bounds]
         key = platform_sysrq_reset_seq[i];
      
      We could fix this, but it seems unlikely that it will ever be used, so
      let's just remove the code instead. We still have the option to pass the
      sequence either in DT, using the kernel command line, or using the
      /sys/module/sysrq/parameters/reset_seq file.
      
      Fixes: 154b7a48 ("Input: sysrq - allow specifying alternate reset sequence")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      ffb6e0c9
  2. 27 5月, 2015 4 次提交
  3. 23 5月, 2015 3 次提交
  4. 22 5月, 2015 3 次提交
  5. 21 5月, 2015 10 次提交
  6. 16 5月, 2015 7 次提交
  7. 14 5月, 2015 2 次提交
  8. 09 5月, 2015 3 次提交
  9. 08 5月, 2015 2 次提交
    • M
      Input: smtpe-ts - wait 50mS until polling for pen-up · 9ceeb59c
      Marek Vasut 提交于
      Wait a little bit longer, 50mS instead of 20mS, until the driver starts
      polling for pen-up. The problematic behavior before this patch is applied
      is as follows. The behavior was observed on the STMPE610QTR controller.
      
      Upon a physical pen-down event, the touchscreen reports one set of x-y-p
      coordinates and a pen-down event. After that, the pen-up polling is
      triggered and since the controller is not ready yet, the polling mistakenly
      detects a pen-up event while the physical state is still such that the pen
      is down on the touch surface.
      
      The pen-up handling flushes the controller FIFO, so after that, all the
      samples in the controller are discarded. The controller becomes ready
      shortly after this bogus pen-up handling and does generate again a pen-down
      interrupt. This time, the controller contains x-y-p samples which all read
      as zero. Since pressure value is zero, this set of samples is effectively
      ignored by userland.
      
      In the end, the driver just bounces between pen-down and bogus pen-up
      handling, generating no useful results. Fix this by giving the controller a
      bit more time before polling it for pen-up.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      9ceeb59c
    • M
      Input: smtpe-ts - use msecs_to_jiffies() instead of HZ · 8f6bcc97
      Marek Vasut 提交于
      Use msecs_to_jiffies(20) instead of plain (HZ / 50), as the former is much
      more explicit about it's behavior. We want to schedule the task 20 mS from
      now, so make it explicit in the code.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      8f6bcc97
  10. 07 5月, 2015 4 次提交