diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-10-29 21:16:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-11 08:11:26 -0200 |
commit | dec0c46ac2af9bbc4a2acd56e5bffbf02f20113e (patch) | |
tree | 64f6c7127d7c9892a5568be1ce5965d89c6ee230 /drivers/serial | |
parent | 8268c8f54505e5b952d1705a7bf3b2a218ed26bf (diff) |
V4L/DVB (9494): anysee: initialize anysee_usb_mutex statically
anysee_usb_mutex is initialized at every time the anysee device is probed.
If the second anysee device is probed while anysee_usb_mutex is locked by
the first anysee device, the mutex is broken.
This patch fixes by initialize anysee_usb_mutex statically rather
than initialize at probe time.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions