1. 14 9月, 2012 5 次提交
    • E
      xHCI: add aborting command ring function · b92cc66c
      Elric Fu 提交于
      Software have to abort command ring and cancel command
      when a command is failed or hang. Otherwise, the command
      ring will hang up and can't handle the others. An example
      of a command that may hang is the Address Device Command,
      because waiting for a SET_ADDRESS request to be acknowledged
      by a USB device is outside of the xHC's ability to control.
      
      To cancel a command, software will initialize a command
      descriptor for the cancel command, and add it into a
      cancel_cmd_list of xhci.
      
      Sarah: Fixed missing newline on "Have the command ring been stopped?"
      debugging statement.
      
      This patch should be backported to kernels as old as 3.0, that contain
      the commit 7ed603ec "xhci: Add an
      assertion to check for virt_dev=0 bug." That commit papers over a NULL
      pointer dereference, and this patch fixes the underlying issue that
      caused the NULL pointer dereference.
      Signed-off-by: NElric Fu <elricfu1@gmail.com>
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Tested-by: NMiroslav Sabljic <miroslav.sabljic@avl.com>
      Cc: stable@vger.kernel.org
      b92cc66c
    • E
      xHCI: add cmd_ring_state · c181bc5b
      Elric Fu 提交于
      Adding cmd_ring_state for command ring. It helps to verify
      the current command ring state for controlling the command
      ring operations.
      
      This patch should be backported to kernels as old as 3.0.  The commit
      7ed603ec "xhci: Add an assertion to
      check for virt_dev=0 bug." papers over the NULL pointer dereference that
      I now believe is related to a timed out Set Address command.  This (and
      the four patches that follow it) contain the real fix that also allows
      VIA USB 3.0 hubs to consistently re-enumerate during the plug/unplug
      stress tests.
      Signed-off-by: NElric Fu <elricfu1@gmail.com>
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Tested-by: NMiroslav Sabljic <miroslav.sabljic@avl.com>
      Cc: stable@vger.kernel.org
      c181bc5b
    • G
      USB: core: remove unused dbg() call in message.c · c2d57aec
      Greg Kroah-Hartman 提交于
      It's not needed, and commented out, so just remove it.
      
      Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c2d57aec
    • G
      USB: atm: usbatm: fix up debug printing code · 34ad569f
      Greg Kroah-Hartman 提交于
      If VERBOSE_DEBUG was enabled, lots of build errors happend (obviously no
      one uses this mode.)  So fix that up, and get rid of the dbg() call, and
      use dev_dbg() like the rest of the driver does.
      
      Cc: Duncan Sands <duncan.sands@free.fr>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      34ad569f
    • G
      USB: serial: add zte_ev.c driver · 799ee924
      Greg Kroah-Hartman 提交于
      This adds a driver for the zte_ev set of usb to serial devices.  It is
      based on a patch floating around the internet that modified the generic
      usb-serial driver to only work for this type of device.
      
      I've left comments in the code that I think show the data commands being
      sent to the device, which I'm guessing come from a usb analyzer.  Maybe
      they can help others out as well.
      
      Many thanks to nirinA raseliarison for pointing the original patch out
      to me, and for testing that the driver works properly.
      Tested-by: NnirinA raseliarison <nirina.raseliarison@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      799ee924
  2. 13 9月, 2012 13 次提交
  3. 12 9月, 2012 1 次提交
  4. 11 9月, 2012 21 次提交