diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-06-21 17:02:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-30 08:16:06 -0700 |
commit | 10ca4425714a6115c5d865718d64874a1e1ea09a (patch) | |
tree | eac8a90e3b0b9436efe5c969510b22d2cdb657b5 /firmware/cxgb3 | |
parent | 1c815577823951ff082fe1201fdd5efec5e6e8ea (diff) |
USB: gadget/printer, fix sleep inside atomic
Stanse found that sleep is called inside atomic context created by
lock_printer_io spinlock in several functions. It's used in process
context only and some functions sleep inside its critical section. As
this is not allowed for spinlocks, switch it to mutex.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Craig W. Nadler <craig@nadler.us>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'firmware/cxgb3')
0 files changed, 0 insertions, 0 deletions