From: Oliver Neukum Date: Sun, 27 Jul 2008 17:01:59 +0000 (-0300) Subject: V4L/DVB (8544): gspca: probe/open race. X-Git-Tag: v2.6.27-rc1~31^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee56a4d3e39c2baafd06aaf26d975a7c9b05e3a2;p=pandora-kernel.git 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 Acked-by: Hans de Goede Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed