android_kernel_xiaomi_sm8350/drivers/media/video
Stefani Seibold 7801edb0b8 media video cx23888 driver: ported to new kfifo API
Fix the cx23888 driver to use the new kfifo API.  Using kfifo_reset()
may result in a possible race conditions.  This patch fixes it by using
a spinlock around the kfifo_reset() function.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Reviewed-by: Andy Walls <awalls@radix.net>
Acked-by: Andy Walls <awalls@radix.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-22 14:17:57 -08:00
..
au0828 V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
bt8xx V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
cpia2 V4L/DVB (13594): cpia2: use __stringify macro. 2009-12-16 00:18:31 -02:00
cx18 V4L/DVB (13555): v4l: Use video_device_node_name() instead of the minor number 2009-12-16 00:17:57 -02:00
cx88 V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
cx231xx V4L/DVB (13687): cx231xx: use NULL when pointer is needed 2009-12-16 09:27:57 -02:00
cx23885 media video cx23888 driver: ported to new kfifo API 2009-12-22 14:17:57 -08:00
cx25840
davinci V4L/DVB: Davinci VPFE Capture: remove unused #include <linux/version.h> 2009-12-16 09:27:57 -02:00
em28xx V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
et61x251 V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
gspca V4L/DVB (13627): gspca - zc3xx: Set the quality for sensor tas5130c. 2009-12-16 00:18:49 -02:00
hdpvr V4L/DVB (13685): Correct code taking the size of a pointer 2009-12-16 09:27:55 -02:00
ivtv V4L/DVB (13555): v4l: Use video_device_node_name() instead of the minor number 2009-12-16 00:17:57 -02:00
ovcamchip
pvrusb2 V4L/DVB (13550): v4l: Use the new video_device_node_name function 2009-12-16 00:17:55 -02:00
pwc V4L/DVB (13593): PWC: parameter trace is only available in debug 2009-12-16 00:18:30 -02:00
saa7134 V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
saa7164 Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
sn9c102 V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
usbvideo V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
usbvision V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
uvc V4L/DVB (13610): uvc: Correct size given to memset 2009-12-16 00:18:41 -02:00
zc0301 V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
zoran V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
adv7170.c
adv7175.c
adv7180.c
adv7343_regs.h
adv7343.c
arv.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
bt819.c
bt856.c
bt866.c
btcx-risc.c
btcx-risc.h
bw-qcam.c
bw-qcam.h
c-qcam.c V4L/DVB (13550): v4l: Use the new video_device_node_name function 2009-12-16 00:17:55 -02:00
cafe_ccic-regs.h
cafe_ccic.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
cpia_pp.c
cpia_usb.c
cpia.c V4L/DVB (13590): cpia: convert it to use proc_fops 2009-12-16 00:18:23 -02:00
cpia.h
cs53l32a.c
cs5345.c
cs8420.h
cx2341x.c
dabusb.c
dabusb.h
font.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
Kconfig V4L/DVB (13670): soc-camera: Add mt9t112 camera driver 2009-12-16 09:27:41 -02:00
ks0127.c
ks0127.h
m52790.c
Makefile V4L/DVB (13670): soc-camera: Add mt9t112 camera driver 2009-12-16 09:27:41 -02:00
meye.c kfifo: fix warn_unused_result 2009-12-22 14:17:56 -08:00
meye.h kfifo: move struct kfifo in place 2009-12-22 14:17:55 -08:00
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
mt9m001.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
mt9m111.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
mt9t031.c V4L/DVB (13662): mt9t031: make the use of the soc-camera client API optional 2009-12-16 09:27:31 -02:00
mt9t112.c V4L/DVB (13670): soc-camera: Add mt9t112 camera driver 2009-12-16 09:27:41 -02:00
mt9v011.c
mt9v011.h
mt9v022.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
mx1_camera.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
mx3_camera.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
mxb.c
mxb.h
omap24xxcam-dma.c
omap24xxcam.c V4L/DVB (13557): v4l: Remove unneeded video_device::minor usage in drivers 2009-12-16 00:17:58 -02:00
omap24xxcam.h
ov511.c V4L/DVB (13596): ov511.c typo: lock => unlock 2009-12-16 00:18:33 -02:00
ov511.h
ov772x.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
ov7670.c
ov9640.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
ov9640.h
pms.c V4L/DVB (13698): pms: replace asm/uaccess.h to linux/uaccess.h 2009-12-16 09:28:01 -02:00
pxa_camera.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
rj54n1cb0c.c V4L/DVB (13661): rj54n1cb0c: Add cropping, auto white balance, restrict sizes, add platform data 2009-12-16 09:27:30 -02:00
s2255drv.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
saa711x_regs.h
saa717x.c V4L/DVB (13396): correct initialization of audio_mode 2009-12-05 18:41:40 -02:00
saa5246a.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
saa5249.c
saa6588.c
saa7110.c
saa7115.c
saa7121.h
saa7127.c
saa7146.h
saa7146reg.h
saa7185.c
saa7191.c
saa7191.h
se401.c V4L/DVB (13550): v4l: Use the new video_device_node_name function 2009-12-16 00:17:55 -02:00
se401.h
sh_mobile_ceu_camera.c V4L/DVB (13671): sh_mobile_ceu_camera: Remove frame size page alignment 2009-12-16 09:27:41 -02:00
soc_camera_platform.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
soc_camera.c V4L/DVB (13659): soc-camera: convert to the new mediabus API 2009-12-16 09:27:29 -02:00
soc_mediabus.c V4L/DVB (13658): v4l: add a media-bus API for configuring v4l2 subdev pixel and frame formats 2009-12-16 09:27:27 -02:00
stk-sensor.c
stk-webcam.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
stk-webcam.h
stradis.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
stv680.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
stv680.h
tcm825x.c
tcm825x.h
tda7432.c
tda9840.c
tda9875.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c
tlv320aic23b.c
tuner-core.c
tvaudio.c
tveeprom.c
tvp514x_regs.h
tvp514x.c
tvp5150_reg.h
tvp5150.c
tw9910.c V4L/DVB (13669): tw9910: Add sync polarity support 2009-12-16 09:27:40 -02:00
upd64031a.c
upd64083.c
v4l1-compat.c
v4l2-common.c V4L/DVB (13618): v4l2: Adding helper function to get dv preset description 2009-12-16 00:18:47 -02:00
v4l2-compat-ioctl32.c V4L/DVB (13571): v4l: Adding Digital Video Timings APIs 2009-12-16 00:18:03 -02:00
v4l2-dev.c V4L/DVB (13552): v4l: Replace video_is_unregistered with video_is_registered 2009-12-16 00:17:55 -02:00
v4l2-device.c
v4l2-int-device.c
v4l2-ioctl.c V4L/DVB (13571): v4l: Adding Digital Video Timings APIs 2009-12-16 00:18:03 -02:00
videobuf-core.c V4L/DVB (13415): videobuf-core: explicitly cast page count 2009-12-05 18:41:46 -02:00
videobuf-dma-contig.c V4L/DVB (13598): videobuf_dma_contig_user_get() for non-aligned offsets 2009-12-16 00:18:34 -02:00
videobuf-dma-sg.c
videobuf-dvb.c
videobuf-vmalloc.c V4L/DVB (13417): Fix videobuf_queue_vmalloc_init() prototype 2009-12-05 18:41:47 -02:00
vino.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
vino.h
vivi.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
vp27smpx.c
vpx3220.c
w9966.c
w9968cf_decoder.h
w9968cf_vpp.h
w9968cf.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
w9968cf.h
wm8739.c
wm8775.c
zr364xx.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00