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: NOliver Neukum <oneukum@suse.de> Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: NJean-Francois Moine <moinejf@free.fr> Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
Showing
想要评论请 注册 或 登录