23 Aug, 2016

3 commits


16 Jul, 2016

2 commits

  • Add support for axis inversion / swapping using the new
    touchscreen_parse_properties() and touchscreen_set_mt_pos()
    functionality.

    Signed-off-by: Hans de Goede
    Signed-off-by: Dmitry Torokhov

    Hans de Goede
     
  • Extend touchscreen_parse_properties() with support for the
    touchscreen-inverted-x/y and touchscreen-swapped-x-y properties and
    add touchscreen_set_mt_pos() and touchscreen_report_pos() helper
    functions for storing coordinates into a input_mt_pos struct, or
    directly reporting them, taking these properties into account.

    This commit also modifies the existing callers of
    touchscreen_parse_properties() to pass in NULL for the new third
    argument, keeping the existing behavior.

    Signed-off-by: Hans de Goede
    Signed-off-by: Dmitry Torokhov

    Hans de Goede
     

05 Dec, 2015

1 commit


14 Oct, 2015

1 commit


21 Jul, 2015

1 commit


18 Jul, 2015

1 commit


12 Jul, 2015

6 commits


17 Jun, 2015

1 commit

  • The i2c_master_recv() uses readsize to receive data from i2c but compares
    to size of rdbuf which is always 27. This would cause problem when the
    max_fingers is not 5. Change the comparison value to readsize instead.

    Fixes: 36874c7e219 ("Input: pixcir_i2c_ts - support up to 5 fingers and
    hardware tracking IDs:)

    Cc: stable@vger.kernel.org
    Signed-off-by: Frodo Lai
    Signed-off-by: Dmitry Torokhov

    Frodo Lai
     

02 Feb, 2015

1 commit

  • Some devices are not fast enough to differentiate between a fast-moving
    contact and a new contact. This problem cannot be fully resolved because
    information is truly missing, but it is possible to safe-guard against
    obvious mistakes by restricting movement with a maximum displacement.

    The new problem formulation for dmax > 0 cannot benefit from the speedup
    for positive definite matrices, but since the convergence is faster, the
    result is about the same. For a handful of contacts, the latency difference
    is truly negligible.

    Suggested-by: Benjamin Tissoires
    Tested-by: Benjamin Tissoires
    Signed-off-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     

02 Nov, 2014

1 commit


29 Jul, 2014

3 commits


19 May, 2014

4 commits


06 Dec, 2013

1 commit

  • Use the wrapper function for retrieving the platform data instead
    of accessing dev->platform_data directly. This is a cosmetic change
    to make the code simpler and enhance the readability.

    Signed-off-by: Jingoo Han
    Acked-by: Fugang Duan
    Signed-off-by: Dmitry Torokhov

    Jingoo Han
     

24 Nov, 2012

3 commits


05 Jul, 2012

1 commit

  • Since commit 1c6c69525b ("genirq: Reject bogus threaded irq requests")
    threaded IRQs without a primary handler need to be requested with
    IRQF_ONESHOT, otherwise the request will fail. This patch adds the
    IRQF_ONESHOT to input drivers where it is missing. Not modified by
    this patch are those drivers where the requested IRQ will always be a
    nested IRQ (e.g. because it's part of an MFD), since for this special
    case IRQF_ONESHOT is not required to be specified when requesting the
    IRQ.

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Dmitry Torokhov

    Lars-Peter Clausen
     

17 Mar, 2012

1 commit


31 Dec, 2011

1 commit