1. 20 2月, 2010 1 次提交
    • S
      Input: polldev can cause crash in case when polling disabled · d9c4f846
      Samu Onkalo 提交于
      When polled input device is opened and closed and there are no other
      users of polled device, the workqueue is created and destroyed in
      every open / close operation. It is probable that at some point
      dynamic allocation of internal parts of the workqueue cause changes to the
      workqueue.
      
      When a work is queued to the workqueue the work struct contains pointers
      to the workqueue data. If the workqueue has been changed and the work
      has never been queued to the new workqueue, work-struct contains pointers
      to the non-existing workqueue. This will cause crash at the work
      cancellation during device close since cancellation of a work assumes
      that the workqueue exists.
      
      To prevent that, work struct is cleaned up at device close. This keeps
      work struct clean for the next use.
      Signed-off-by: NSamu Onkalo <samu.p.onkalo@nokia.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      d9c4f846
  2. 18 2月, 2010 2 次提交
  3. 08 2月, 2010 1 次提交
  4. 29 1月, 2010 3 次提交
  5. 28 1月, 2010 1 次提交
  6. 19 1月, 2010 1 次提交
  7. 13 1月, 2010 3 次提交
  8. 11 1月, 2010 1 次提交
  9. 10 1月, 2010 1 次提交
  10. 07 1月, 2010 1 次提交
    • D
      Input: psmouse - fix Synaptics detection when protocol is disabled · e4e6efd2
      Daniel Drake 提交于
      For configurations where Synaptics hardware is present but the Synaptics
      extensions support is not compiled in, the mouse is reprobed and a new
      device is allocated on every suspend/resume.
      
      During probe, psmouse_switch_protocol() calls psmouse_extensions() with
      set_properties=1. This calls the dummy synaptics_init() which returns an
      error code, instructing us not to use the synaptics extensions.
      
      During resume, psmouse_reconnect() calls psmouse_extensions() with
      set_properties=0, in which case call to synaptics_init() is bypassed and
      PSMOUSE_SYNAPTICS is returned. Since the result is different from previous
      attempt psmouse_reconnect() fails and full re-probe happens.
      
      Fix this by tweaking the set_properties=0 codepath in psmouse_extensions()
      to be more careful about offering PSMOUSE_SYNAPTICS extensions.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      e4e6efd2
  11. 06 1月, 2010 5 次提交
  12. 02 1月, 2010 1 次提交
  13. 31 12月, 2009 1 次提交
  14. 30 12月, 2009 5 次提交
  15. 25 12月, 2009 7 次提交
  16. 16 12月, 2009 6 次提交