diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-04 16:27:32 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 21:43:10 +0400 |
commit | f80daa2d7d7725559908909254d240c433cafc93 (patch) | |
tree | d6578d944aa7ed763b3c4073f3539c674cd5b68f /drivers/media/usb/stkwebcam/stk-webcam.h | |
parent | 8407653f5e2b9805958e0a392c0411ce027a3934 (diff) | |
download | linux-f80daa2d7d7725559908909254d240c433cafc93.tar.xz |
[media] stk-webcam: enable core-locking
This makes it possible to switch to unlocked_ioctl.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stkwebcam/stk-webcam.h')
-rw-r--r-- | drivers/media/usb/stkwebcam/stk-webcam.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/stkwebcam/stk-webcam.h b/drivers/media/usb/stkwebcam/stk-webcam.h index 2156320487d8..03550cf60dcd 100644 --- a/drivers/media/usb/stkwebcam/stk-webcam.h +++ b/drivers/media/usb/stkwebcam/stk-webcam.h @@ -99,6 +99,7 @@ struct stk_camera { struct usb_interface *interface; int webcam_model; struct file *owner; + struct mutex lock; int first_init; u8 isoc_ep; |