mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
[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 <mchehab@redhat.com>
This commit is contained in:
parent
b618726414
commit
121ec13267
1 changed files with 12 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue