1. 24 2月, 2011 2 次提交
  2. 19 2月, 2011 1 次提交
  3. 11 2月, 2011 2 次提交
    • A
      Input: wacom - fix error path in wacom_probe() · 4b6d4434
      Alexander Strakh 提交于
      If we fail to retrieve HID descriptor we need to free allocated URB so
      jump to proper label to do that.
      Signed-off-by: NAlexander Strakh <strakh@ispras.ru>
      Acked-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      4b6d4434
    • D
      Input: ads7846 - check proper condition when freeing gpio · 0fbc9fdb
      Dmitry Torokhov 提交于
      When driver uses custom pendown detection method gpio_pendown is not
      set up and so we should not try to free it, otherwise we are presented
      with:
      
      ------------[ cut here ]------------
      WARNING: at drivers/gpio/gpiolib.c:1258 gpio_free+0x100/0x12c()
      Modules linked in:
      [<c0061208>] (unwind_backtrace+0x0/0xe4) from [<c0091f58>](warn_slowpath_common+0x4c/0x64)
      [<c0091f58>] (warn_slowpath_common+0x4c/0x64) from [<c0091f88>](warn_slowpath_null+0x18/0x1c)
      [<c0091f88>] (warn_slowpath_null+0x18/0x1c) from [<c024e610>](gpio_free+0x100/0x12c)
      [<c024e610>] (gpio_free+0x100/0x12c) from [<c03e9fbc>](ads7846_probe+0xa38/0xc5c)
      [<c03e9fbc>] (ads7846_probe+0xa38/0xc5c) from [<c02cff14>](spi_drv_probe+0x18/0x1c)
      [<c02cff14>] (spi_drv_probe+0x18/0x1c) from [<c028bca4>](driver_probe_device+0xc8/0x184)
      [<c028bca4>] (driver_probe_device+0xc8/0x184) from [<c028bdc8>](__driver_attach+0x68/0x8c)
      [<c028bdc8>] (__driver_attach+0x68/0x8c) from [<c028b4c8>](bus_for_each_dev+0x48/0x74)
      [<c028b4c8>] (bus_for_each_dev+0x48/0x74) from [<c028ae08>](bus_add_driver+0xa0/0x220)
      [<c028ae08>] (bus_add_driver+0xa0/0x220) from [<c028c0c0>](driver_register+0xa8/0x134)
      [<c028c0c0>] (driver_register+0xa8/0x134) from [<c0050550>](do_one_initcall+0xcc/0x1a4)
      [<c0050550>] (do_one_initcall+0xcc/0x1a4) from [<c00084e4>](kernel_init+0x14c/0x214)
      [<c00084e4>] (kernel_init+0x14c/0x214) from [<c005b494>](kernel_thread_exit+0x0/0x8)
      ---[ end trace 4053287f8a5ec18f ]---
      
      Also rearrange ads7846_setup_pendown() to have only one exit point
      returning success.
      Reported-by: NSourav Poddar <sourav.poddar@ti.com>
      Acked-by: NWolfram Sang <w.sang@pengutronix.de>
      Reviewed-by: NCharulatha V <charu@ti.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      0fbc9fdb
  4. 06 2月, 2011 1 次提交
  5. 03 2月, 2011 3 次提交
  6. 01 2月, 2011 1 次提交
    • P
      Input: wacom_w8001 - report resolution to userland · 28a1bc1c
      Ping Cheng 提交于
      Serial devices send both pen and touch data through the same logical
      port. Since we scaled touch to pen maximum, we use pen resolution
      for touch as well here.
      
      This is under the assumption that pen and touch share the same physical
      surface. In the case when a small physical dimensional difference occurs
      between pen and touch, we assume the tolerance for touch point precision
      is higher than pen and the difference is within touch point tolerance.
      
      A per-MT tool based resolution mechanism should be introduced if the
      above assumption does not hold true for the pen and touch devices any
      more.
      Signed-off-by: NPing Cheng <pingc@wacom.com>
      Reviewed-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      28a1bc1c
  7. 29 1月, 2011 4 次提交
  8. 26 1月, 2011 1 次提交
  9. 25 1月, 2011 1 次提交
  10. 21 1月, 2011 5 次提交
  11. 18 1月, 2011 5 次提交
  12. 11 1月, 2011 2 次提交
  13. 08 1月, 2011 3 次提交
  14. 07 1月, 2011 5 次提交
  15. 04 1月, 2011 1 次提交
  16. 30 12月, 2010 2 次提交
  17. 29 12月, 2010 1 次提交