diff options
author | David Brownell <david-b@pacbell.net> | 2006-08-21 15:26:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-31 18:04:30 -0700 |
commit | 789851cf0005b946557340c9bbfc7728906cdbfc (patch) | |
tree | f10696d1397dead43f70509432266f7afef9aeb9 /drivers/usb/host/uhci-q.c | |
parent | ea186651d5a7b822c855de5de505c5c19812bf0b (diff) |
usb gadget: g_ether spinlock recursion fix
The new spinlock debug code turned up a spinlock recursion bug in the
Ethernet gadget driver on a disconnect path; it would show up with any
UDC driver where the cancellation of active requests was synchronous,
rather than e.g. delayed until a controller's completion IRQ.
That recursion is fixed here by creating and using a new spinlock to
protect the relevant lists.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-q.c')
0 files changed, 0 insertions, 0 deletions