diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-20 14:30:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-20 21:12:02 +0100 |
commit | 818a557eeb9c16a9a2dc93df348b0ff68fbc487f (patch) | |
tree | d1ac8a7c8ad69f603100e13f5170525259e6385c /drivers/media/video/gspca/finepix.c | |
parent | V4L/DVB (9664): af9015: don't reconnect device in USB-bus (diff) | |
download | linux-818a557eeb9c16a9a2dc93df348b0ff68fbc487f.tar.xz linux-818a557eeb9c16a9a2dc93df348b0ff68fbc487f.zip |
V4L/DVB (9668): em28xx: fix a race condition with hald
Newer versions of hald tries to open it to call QUERYCAP.
Due to the lack of a proper locking, it is possible to open the device
before it finishes initialization.
This patch adds a lock to avoid this risk, and to protect the list of
em28xx devices.
While here, remove the uneeded BKL lock.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/finepix.c')
0 files changed, 0 insertions, 0 deletions