]> git.baikalelectronics.ru Git - kernel.git/commit
USB: EHCI: fix remote-wakeup regression
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 May 2008 20:58:58 +0000 (16:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 29 May 2008 20:59:04 +0000 (13:59 -0700)
commit71438162a94d3052082e188e99b08c5a458b751f
treeebd7c3321839b33e7483d74e340bd6ba664ecf38
parent584eb4a5201d98e3bc6baead7d933094cf1aaa43
USB: EHCI: fix remote-wakeup regression

This patch (as1097) fixes a bug in the remote-wakeup handling in
ehci-hcd.  The driver currently does not keep track of whether the
change-suspend feature is enabled for each port; the feature is
automatically reset the first time it is read.  But recent changes to
the hub driver require that the feature be read at least twice in
order to work properly.

A bit-vector is added for storing the change-suspend feature values.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci.h