android_kernel_xiaomi_sm8350/drivers/media/video/gspca
Oliver Neukum ee56a4d3e3 V4L/DVB (8544): gspca: probe/open race.
The device is flagged present after it is registered. During that window calls
to open() that should work fail with -ENODEV. Reversing the order fixes
the race.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27 18:07:57 -03:00
..
conex.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
etoms.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
gspca.c V4L/DVB (8544): gspca: probe/open race. 2008-07-27 18:07:57 -03:00
gspca.h V4L/DVB (8352): gspca: Buffers for USB exchanges cannot be in the stack. 2008-07-20 07:26:14 -03:00
jpeg.h V4L/DVB (8156): Many bug fixes, zc3xx added. 2008-07-20 07:14:45 -03:00
Kconfig V4L/DVB (8157): gspca: all subdrivers 2008-07-20 07:14:49 -03:00
Makefile V4L/DVB (8157): gspca: all subdrivers 2008-07-20 07:14:49 -03:00
mars.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
ov519.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
pac207.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
pac7311.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
sonixb.c V4L/DVB (8521): gspca: Webcams with Sonix bridge and sensor ov7630 are VGA. 2008-07-27 11:06:47 -03:00
sonixj.c V4L/DVB (8515): gspca: Webcam 0c45:6143 added in sonixj. 2008-07-27 11:06:39 -03:00
spca500.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
spca501.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
spca505.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
spca506.c V4L/DVB (8518): gspca: Remove the remaining frame decoding functions from the subdrivers. 2008-07-27 11:06:42 -03:00
spca508.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
spca561.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
stk014.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
sunplus.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
t613.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
tv8532.c V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info. 2008-07-27 11:06:38 -03:00
vc032x.c V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e. 2008-07-27 11:06:46 -03:00
zc3xx-reg.h V4L/DVB (8359): gspca: Adds register aliases for zc03xx registers 2008-07-20 07:26:49 -03:00
zc3xx.c V4L/DVB (8517): gspca: Bad sensor for some webcams in zc3xx since 28b8203a830e. 2008-07-27 11:06:41 -03:00