commit | ee56a4d3e39c2baafd06aaf26d975a7c9b05e3a2 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Sun Jul 27 14:01:59 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Sun Jul 27 18:07:57 2008 -0300 |
tree | c33575d547a0613eeaaa5c289956cf79925d53fb | |
parent | ee281b856d4e4921da24387ab116bb0855c2efaa [diff] |
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>