Arnd Bergmann 7bd6972a92 sound: oss: vwsnd: avoid interruptible_sleep_on
Interruptible_sleep_on is racy and we want to remove it. This replaces
the use in the vwsnd driver with an open-coded prepare_to_wait
loop that fixes the race between concurrent open() and close() calls,
and also drops the global mutex while waiting here, which restores
the original behavior that was changed during the BKL removal.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-01-14 16:01:27 +01:00
..
2012-12-07 07:30:49 +01:00
2009-07-29 14:37:12 +02:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-11-11 01:54:32 +01:00
2011-05-20 11:33:39 +02:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2012-03-28 18:30:03 +01:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2013-10-14 11:00:05 +02:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2006-10-04 07:55:32 -07:00
2010-01-08 09:17:51 +01:00
2005-04-16 15:20:36 -07:00
2013-02-22 23:31:31 -05:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:30:03 +01:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox