1. 27 Sep, 2011 15 commits
  2. 26 Sep, 2011 19 commits
  3. 20 Sep, 2011 5 commits
  4. 19 Sep, 2011 1 commit
    • Kautuk Consul's avatar
      staging: quatech_usb2: Potential lost wakeup scenario in TIOCMIWAIT · e8df1674
      Kautuk Consul authored
      If the usermode app does an ioctl over this serial device  by
      using TIOCMIWAIT, then the code will wait by setting the current
      task state to TASK_INTERRUPTIBLE and then calling schedule().
      This will be woken up by the qt2_process_modem_status on URB
      completion when the port_extra->shadowMSR is set to the new
      modem status.
      
      However, this could result in a lost wakeup scenario due to a race
      in the logic in the qt2_ioctl(TIOCMIWAIT) loop and the URB completion
      for new modem status in qt2_process_modem_status.
      Due to this, the usermode app's task will continue to sleep despite a
      change in the modem status.
      Signed-off-by: default avatarKautuk Consul <consul.kautuk@gmail.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e8df1674