sound: push BKL into open functions
authorArnd Bergmann <arnd@arndb.de>
Sun, 11 Jul 2010 10:16:36 +0000 (12:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2010 15:41:05 +0000 (17:41 +0200)
commit90dc763fef4c869e60b2a7ad92e1a7dab68575ea
treeab3757f14a6d84e36afa36ac5f325fd316d4e197
parent395c61d19621e80b763810cc988416dc1b6bfd3e
sound: push BKL into open functions

This moves the lock_kernel() call from soundcore_open
to the individual OSS device drivers, where we can deal
with it one driver at a time if needed, or just kill
off the drivers.

All core components in ALSA already provide
adequate locking in their open()-functions
and do not require the big kernel lock, so
there is no need to add the BKL there.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
arch/um/drivers/hostaudio_kern.c
sound/oss/au1550_ac97.c
sound/oss/dmasound/dmasound_core.c
sound/oss/msnd_pinnacle.c
sound/oss/sh_dac_audio.c
sound/oss/soundcard.c
sound/oss/swarm_cs4297a.c
sound/oss/vwsnd.c
sound/sound_core.c