usb, xhci: Clear warm reset change event during init
authorDon Zickus <dzickus@redhat.com>
Thu, 3 Nov 2011 13:07:18 +0000 (09:07 -0400)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 4 Nov 2011 19:34:40 +0000 (12:34 -0700)
commit79c3dd8150fd5236d95766a9e662e3e932b462c9
tree10ab9749975eb78f350c9126062b1306f4b8401b
parentd31c285b3a71cf9056e6a060de41f37780b0af86
usb, xhci: Clear warm reset change event during init

I noticed on my Panther Point system that I wasn't getting hotplug events
for my usb3.0 disk on a usb3 port.  I tracked it down to the fact that the
system had the warm reset change bit still set.  This seemed to block future
events from being received, including a hotplug event.

Clearing this bit during initialization allowed the hotplug event to be
received and the disk to be recognized correctly.

This patch should be backported to kernels as old as 2.6.39.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
drivers/usb/core/hub.c