git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: usb-audio: Use rwsem for disconnect protection
[pandora-kernel.git]
/
sound
/
usb
/
usbaudio.h
diff --git
a/sound/usb/usbaudio.h
b/sound/usb/usbaudio.h
index
b8233eb
..
ef42797
100644
(file)
--- a/
sound/usb/usbaudio.h
+++ b/
sound/usb/usbaudio.h
@@
-37,7
+37,7
@@
struct snd_usb_audio {
struct usb_interface *pm_intf;
u32 usb_id;
struct mutex mutex;
struct usb_interface *pm_intf;
u32 usb_id;
struct mutex mutex;
- struct
mutex shutdown_mutex
;
+ struct
rw_semaphore shutdown_rwsem
;
unsigned int shutdown:1;
unsigned int probing:1;
unsigned int autosuspended:1;
unsigned int shutdown:1;
unsigned int probing:1;
unsigned int autosuspended:1;