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. 08 12月, 2009 1 次提交
  3. 24 11月, 2009 2 次提交
  4. 20 11月, 2009 1 次提交
    • S
      Input: input-polldev - add sysfs interface for controlling poll interval · dad725d0
      Samu Onkalo 提交于
      Sysfs entry for reading and setting of the polling interval. If the
      interval is set to 0, polling is stopped. Polling is restarted when
      interval is changed to non-zero.
      
      sysfs entries:
      poll = current polling interval in msec (RW)
      max = max allowed polling interval (RO)
      min = min allowed polling interval (RO)
      
      Minimum and maximum limit for interval can be set while setting up the
      device.
      
      Interval can be adjusted even if the input device is not currently open.
      
      [dtor@mail.ru: add kernel doc markup for the new fields]
      Signed-off-by: NSamu Onkalo <samu.p.onkalo@nokia.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      dad725d0
  5. 18 10月, 2009 1 次提交
  6. 02 4月, 2008 1 次提交
  7. 21 1月, 2008 1 次提交
  8. 26 9月, 2007 1 次提交
  9. 13 6月, 2007 1 次提交
  10. 23 5月, 2007 1 次提交
  11. 30 4月, 2007 1 次提交