1. 18 Oct, 2011 2 commits
    • Matthew Garrett's avatar
      USB: Fix runtime wakeup on OHCI · a8b43c00
      Matthew Garrett authored
      At least some OHCI hardware (such as the MCP89) fails to flag any change
      in the host status register or the port status registers when receiving
      a remote wakeup while in D3 state. This results in the controller being
      resumed but no device state change being noticed, at which point the
      controller is put back to sleep again. Since there doesn't seem to be any
      reliable way to identify the state change, just unconditionally resume the
      hub. It'll be put back to sleep in the near future anyway if there are no
      active devices attached to it.
      Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
      Cc: stable <stable@vger.kernel.org>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      a8b43c00
    • Sarah Sharp's avatar
      xHCI/USB: Make xHCI driver have a BOS descriptor. · 48e82361
      Sarah Sharp authored
      To add USB 3.0 link power management (LPM), we need to know what the U1
      and U2 exit latencies are for the xHCI host controller.  External USB 3.0
      hubs report these values through the SuperSpeed Capabilities descriptor in
      the BOS descriptor.  Make the USB 3.0 roothub for the xHCI host behave
      like an external hub and return the BOS descriptors.
      
      The U1 and U2 exit latencies will vary across each host controller, so we
      need to dynamically fill those values in by reading the exit latencies out
      of the xHC registers.  Make the roothub code in the USB core handle
      hub_control() returning the length of the data copied.
      Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      48e82361
  2. 13 Oct, 2011 38 commits