From: Alan Stern Date: Tue, 3 Apr 2012 19:24:30 +0000 (-0400) Subject: EHCI: keep track of ports being resumed and indicate in hub_status_data X-Git-Tag: v3.4-rc3~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a448e4dc25303fe551e4dafe16c8c7c34f1b9d82;p=pandora-kernel.git EHCI: keep track of ports being resumed and indicate in hub_status_data This patch (as1537) adds a bit-array to ehci-hcd for keeping track of which ports are undergoing a resume transition. If any of the bits are set when ehci_hub_status_data() is called, the routine will return a nonzero value even if no ports have any status changes pending. This will allow usbcore to handle races between root-hub suspend and port wakeup. Signed-off-by: Alan Stern CC: Sarah Sharp CC: Chen Peter-B29397 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed