1. 04 2月, 2016 1 次提交
    • M
      Revert "xhci: don't finish a TD if we get a short-transfer event mid TD" · a6835090
      Mathias Nyman 提交于
      This reverts commit e210c422 ("xhci: don't finish a TD if we get a
      short transfer event mid TD")
      
      Turns out that most host controllers do not follow the xHCI specs and never
      send the second event for the last TRB in the TD if there was a short event
      mid-TD.
      
      Returning the URB directly after the first short-transfer event is far
      better than never returning the URB. (class drivers usually timeout
      after 30sec). For the hosts that do send the second event we will go
      back to treating it as misplaced event and print an error message for it.
      
      The origial patch was sent to stable kernels and needs to be reverted from
      there as well
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a6835090
  2. 30 1月, 2016 1 次提交
  3. 29 1月, 2016 10 次提交
  4. 28 1月, 2016 13 次提交
  5. 27 1月, 2016 15 次提交