diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-01-13 07:29:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 15:44:38 -0800 |
commit | 34ef50e5b1f96c2d8c0f3d28b7d407743806256c (patch) | |
tree | bdf5fe45a270ebd77c895c7563c3fbf4c230019a /arch/sparc64/kernel/of_device.c | |
parent | fdcba53e2d58272bcdb5f1fad694602ccf02ad46 (diff) |
USB: race fixes for usb-serial step 1
- introduce a spinlock for serial_table to eliminate the window between
looking up a device and getting a reference
- delay inscription of a new device into serial_table until it is fully
initialised
- make sure disconnect() kills all URBs to avoid leckage across a soft unbind
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc64/kernel/of_device.c')
0 files changed, 0 insertions, 0 deletions