linux/sound/oss/dmasound
Julia Lawall 1efddcc981 sound: Add missing spin_unlock
Add a spin_unlock missing on the error path.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression E1;
@@

* spin_lock(E1,...);
  <+... when != E1
  if (...) {
    ... when != E1
*   return ...;
  }
  ...+>
* spin_unlock(E1,...);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-05-27 09:47:02 +02:00
..
dmasound_atari.c sound: Add missing spin_unlock 2010-05-27 09:47:02 +02:00
dmasound_core.c sound: Replace old style lock initializer 2009-11-07 09:44:52 +01:00
dmasound_paula.c m68k: amiga - Sound platform device conversion 2010-05-17 21:37:44 +02:00
dmasound_q40.c m68k: dmasound - Kill warn_unused_result warnings 2009-01-12 20:56:42 +01:00
dmasound.h oss: fix O_NONBLOCK in dmasound_core 2008-11-01 12:40:38 -07:00
Kconfig sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
Makefile The next round of scheduled OSS code removal 2007-10-18 14:37:26 -07:00