git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b618726
)
[media] cx88: Don't allow opening a device while it is not ready
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 14 Feb 2011 10:01:51 +0000
(07:01 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:00 +0000
(20:32 -0300)
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 <mchehab@redhat.com>
No differences found