From: Mauro Carvalho Chehab Date: Mon, 14 Feb 2011 10:01:51 +0000 (-0300) Subject: [media] cx88: Don't allow opening a device while it is not ready X-Git-Tag: v2.6.39-rc1~86^2~345 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121ec13267fabcf2c81e4584f1505069e234b30d;p=pandora-kernel.git [media] cx88: Don't allow opening a device while it is not ready After registering the cdev, it would be possible do have an open on it. In a matter of fact, some versions of udev do this. So, move registration to the end and protect it with a mutex. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed