tmp_suning_uos_patched/sound/isa
Julia Lawall fcb2954b96 ALSA: sound/isa: convert nested spin_lock_irqsave to spin_lock
If spin_lock_irqsave is called twice in a row with the same second
argument, the interrupt state at the point of the second call overwrites
the value saved by the first call.  Indeed, the second call does not need
to save the interrupt state, so it is changed to a simple spin_lock.

The semantic match that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
expression lock1,lock2;
expression flags;
@@

*spin_lock_irqsave(lock1,flags)
... when != flags
*spin_lock_irqsave(lock2,flags)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-07-19 14:02:29 +02:00
..
ad1816a
ad1848
cs423x
es1688 ALSA: Add missing __devexit_p() markers 2009-06-04 10:52:16 +02:00
gus ALSA: sound/isa: convert nested spin_lock_irqsave to spin_lock 2009-07-19 14:02:29 +02:00
msnd ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
opti9xx
sb ALSA: clean up the logic for building sequencer modules 2009-05-29 11:49:42 +02:00
wavefront
wss
adlib.c
als100.c
azt2320.c
cmi8330.c ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug 2009-06-29 08:06:10 +02:00
dt019x.c
es18xx.c
Kconfig Merge branch 'topic/sc6000' into for-linus 2009-06-10 07:26:45 +02:00
Makefile
opl3sa2.c
sc6000.c ALSA: sc6000: enable joystick port 2009-05-04 09:08:22 +02:00
sgalaxy.c
sscape.c