summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-10-12 15:19:14 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-16 09:30:22 -0800
commit34f84ffa2b3fa5af7e2cd27d0569ded38786396a (patch)
treedd558a3475e3fca83096a2aac58bd279bf72b65e /net/lapb/lapb_timer.c
parentbdef0ae05e53c9681bdb3367ca1d461e8c2277f5 (diff)
USB: mutual exclusion for EHCI init and port resets
patch 32fe01985aa2cb2562f6fc171e526e279abe10db in mainline. This patch (as999) fixes a problem that sometimes shows up when host controller driver modules are loaded in the wrong order. If ehci-hcd happens to initialize an EHCI controller while the companion OHCI or UHCI controller is in the middle of a port reset, the reset can fail and the companion may get very confused. The patch adds an rw-semaphore and uses it to keep EHCI initialization and port resets mutually exclusive. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: David Brownell <david-b@pacbell.net> Cc: David Miller <davem@davemloft.net> Cc: Dely L Sy <dely.l.sy@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions