[media] staging/cx25721: serialize access to devlist
authorArnd Bergmann <arnd@arndb.de>
Wed, 2 Mar 2011 20:15:15 +0000 (17:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:41 +0000 (20:32 -0300)
commit0cd301f19a91b3e1fb4130dcd9106777003ed4ed
tree5c6f30efc843196c15618a78f68cf22049caf8d5
parentdc46b8c8e3d7e6c7c7ddb78fc2137a5462e98679
[media] staging/cx25721: serialize access to devlist

Out of the three files accessing the device list,
one uses a mutex, one uses the BKL and one does
not have any locking. That is of course pointless,
so let's make all of them use the same mutex,
and get rid of one more BKL user.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Palash Bandyopadhyay <palash.bandyopadhyay@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/cx25821/Kconfig
drivers/staging/cx25821/cx25821-alsa.c
drivers/staging/cx25821/cx25821-core.c
drivers/staging/cx25821/cx25821-video.c
drivers/staging/cx25821/cx25821.h