OpenCloudOS-Kernel/sound/mips
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
..
Kconfig ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
Makefile ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
ad1843.c ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
au1x00.c sound: Add missing spin_unlock 2010-05-27 09:47:02 +02:00
hal2.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hal2.h ALSA: ALSA driver for SGI HAL2 audio device 2008-07-14 09:00:57 +02:00
sgio2audio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00