summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2011-11-15 02:51:39 +0100
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-01-10 20:04:53 +0100
commitd0cd5d482b8a6dc92c6c69a5387baf72ea84f23a (patch)
tree3549b42dc7e81dd3fbdeb2dfbbe1c57638f7230a /drivers/tty
parentMerge branch 'for-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/pe... (diff)
downloadlinux-d0cd5d482b8a6dc92c6c69a5387baf72ea84f23a.tar.xz
linux-d0cd5d482b8a6dc92c6c69a5387baf72ea84f23a.zip
xhci: Fix USB 3.0 device restart on resume.
The xHCI hub port code gets passed a zero-based port number by the USB core. It then adds one to in order to find a device slot by port number and device speed by calling xhci_find_slot_id_by_port. That function clearly states it requires a one-based port number. The xHCI port status change event handler was using a zero-based port number that it got from find_faked_portnum_from_hw_portnum, not a one-based port number. This lead to the doorbells never being rung for a device after a resume, or worse, a different device with the same speed having its doorbell rung (which could lead to bad power management in the xHCI host controller). This patch should be backported to kernels as old as 2.6.39. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Acked-by: Andiry Xu <andiry.xu@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions