diff options
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-06-14 10:29:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:17 -0700 |
commit | 943e1b4d60dc7acfabe2ebad31189bcb3b853688 (patch) | |
tree | 3a8de95902d0f8699d0c2dd1759a1841960d1720 /Documentation/digiepca.txt | |
parent | b059c81af7a1759a911cfc20ce8a4bf47c435830 (diff) |
[PATCH] USB: gadget-serial: fix a deadlock when closing the serial device
When closing the device, the driver acquires/release twice the
port lock before/after waiting for the data to be completely
sent. Therefore it will dead lock.
This patch fixes it and also uses the generic scheduler services
for waiting for an event.
Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/digiepca.txt')
0 files changed, 0 insertions, 0 deletions