android_kernel_xiaomi_sm8350/drivers/media/video/usbvideo
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
..
ibmcam.c
Kconfig V4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams 2010-10-21 01:04:46 -02:00
konicawc.c
Makefile
ultracam.c
usbvideo.c
usbvideo.h
vicam.c [media] v4l: kill the BKL 2010-11-08 22:35:57 -02:00