linux/drivers/media/video/zoran
Arnd Bergmann 0edf2e5e2b [media] v4l: kill the BKL
All of the hard problems for BKL removal appear to be solved in the
v4l-dvb/master tree. This removes the BKL from the various open
functions that do not need it, or only use it to protect an
open count.

The zoran driver is nontrivial in this regard, so I introduce
a new mutex that locks both the open/release and the ioctl
functions. Someone with access to the hardware can probably
improve that by using the existing lock in all cases.

Finally, all drivers that still use the locked version of the
ioctl function now get called under a new mutex instead of
the BKL.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-11-08 22:35:57 -02:00
..
Kconfig V4L/DVB (10714): zoran et al: convert zoran i2c modules to V4L2. 2009-03-30 12:42:57 -03:00
Makefile
videocodec.c V4L/DVB: drivers/media/video/zoran: Use kmemdup 2010-08-02 15:04:04 -03:00
videocodec.h Fix spelling fuction -> function in comments 2010-08-09 11:22:49 +02:00
zoran_card.c [media] v4l: kill the BKL 2010-11-08 22:35:57 -02:00
zoran_card.h V4L/DVB (10711): zoran: fix TRY_FMT support 2009-03-30 12:42:56 -03:00
zoran_device.c V4L/DVB: drivers/media/video/zoran: Don't use initialized char array 2010-10-21 01:06:11 -02:00
zoran_device.h V4L/DVB (11022): zoran/bt819: use new notify functionality. 2009-03-30 12:43:21 -03:00
zoran_driver.c [media] v4l: kill the BKL 2010-11-08 22:35:57 -02:00
zoran_procfs.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
zoran_procfs.h
zoran.h [media] v4l: kill the BKL 2010-11-08 22:35:57 -02:00
zr36016.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
zr36016.h
zr36050.c fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
zr36050.h
zr36057.h
zr36060.c fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
zr36060.h