diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 08:23:01 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 18:43:41 +0100 |
commit | 1b499fe506257369fd6059422989e36c71b99897 (patch) | |
tree | 65dd21e5895e796f68cdb1c4624a7cd753e9d340 /drivers/media/usb/stkwebcam/stk-webcam.h | |
parent | [media] stk-webcam: enable core-locking (diff) | |
download | linux-1b499fe506257369fd6059422989e36c71b99897.tar.xz linux-1b499fe506257369fd6059422989e36c71b99897.zip |
[media] stk-webcam: fix read() handling when reqbufs was already called
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 03550cf60dcd..9bbfa3d9bfdd 100644 --- a/drivers/media/usb/stkwebcam/stk-webcam.h +++ b/drivers/media/usb/stkwebcam/stk-webcam.h @@ -118,6 +118,7 @@ struct stk_camera { int frame_size; /* Streaming buffers */ + int reading; unsigned int n_sbufs; struct stk_sio_buffer *sio_bufs; struct list_head sio_avail; |