android_kernel_samsung_univ.../drivers
Sarah Sharp dcc01c0864 usb: Disable USB 2.0 Link PM before device reset.
Before the USB core resets a device, we need to disable the L1 timeout
for the roothub, if USB 2.0 Link PM is enabled.  Otherwise the port may
transition into L1 in between descriptor fetches, before we know if the
USB device descriptors changed.  LPM will be re-enabled after the
full device descriptors are fetched, and we can confirm the device still
supports USB 2.0 LPM after the reset.

We don't need to wait for the USB device to exit L1 before resetting the
device, since the xHCI roothub port diagrams show a transition to the
Reset state from any of the Ux states (see Figure 34 in the 2012-08-14
xHCI specification update).

This patch should be backported to kernels as old as 3.2, that contain
the commit 65580b4321 "xHCI: set USB2
hardware LPM".  That was the first commit to enable USB 2.0
hardware-driven Link Power Management.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
2013-10-16 12:24:17 -07:00
..
accessibility
acpi ACPI: Use EXPORT_SYMBOL() for acpi_bus_get_device() 2013-10-01 23:02:43 +02:00
amba
ata
atm
auxdisplay
base
bcma
block
bluetooth
bus bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties 2013-10-01 17:04:17 +00:00
cdrom
char
clk
clocksource
connector
cpufreq intel_pstate: fix no_turbo 2013-10-01 22:51:11 +02:00
cpuidle
crypto
dca
devfreq
dio
dma dmaengine: imx-dma: fix callback path in tasklet 2013-10-04 14:35:03 +05:30
edac
eisa
extcon
firewire
firmware
fmc
gpio Fixes for the GPIO tree for v3.12: 2013-10-05 12:11:40 -07:00
gpu
hid
hsi
hv
hwmon
hwspinlock
i2c
ide
idle
iio
infiniband ib_srpt: always set response for task management 2013-10-03 04:23:17 -07:00
input
iommu
ipack
irqchip
isdn
leds
lguest
macintosh
mailbox
md
media
memory
memstick
message
mfd
misc
mmc
mtd
net qlcnic: Fix SR-IOV configuration 2013-10-01 12:34:59 -04:00
nfc
ntb
nubus
of
oprofile
parisc
parport
pci
pcmcia
phy usb: phy: omap-usb2: Don't use omap_get_control_dev() 2013-10-03 15:47:30 -07:00
pinctrl
platform
pnp
power
pps
ps3
ptp
pwm
rapidio
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi
sfi
sh
sn
spi
ssb
staging staging: comedi: ni_65xx: (bug fix) confine insn_bits to one subdevice 2013-10-03 14:27:32 -07:00
target iscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags 2013-10-03 14:22:45 -07:00
tc
thermal
tty xen/hvc: allow xenboot console to be used again 2013-10-03 16:12:58 -07:00
uio
usb usb: Disable USB 2.0 Link PM before device reset. 2013-10-16 12:24:17 -07:00
uwb
vfio
vhost vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag 2013-10-01 21:27:31 -07:00
video
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile