]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd1f114d12bb4db3147e1b1342ae31083c5a79c84
treeebd7c3321839b33e7483d74e340bd6ba664ecf38
parent3a31155cfff0935e4b178f3dca733d2d60d2eb8d
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