diff options
Diffstat (limited to 'drivers/media/video/ov511.c')
-rw-r--r-- | drivers/media/video/ov511.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c index fdc8e3f13937..a988df226aab 100644 --- a/drivers/media/video/ov511.c +++ b/drivers/media/video/ov511.c | |||
@@ -3239,7 +3239,7 @@ ov511_move_data(struct usb_ov511 *ov, unsigned char *in, int n) | |||
3239 | RESTRICT_TO_RANGE(frame->bytes_recvd, 8, max_raw); | 3239 | RESTRICT_TO_RANGE(frame->bytes_recvd, 8, max_raw); |
3240 | 3240 | ||
3241 | if (frame->scanstate == STATE_LINES) { | 3241 | if (frame->scanstate == STATE_LINES) { |
3242 | int nextf; | 3242 | int nextf; |
3243 | 3243 | ||
3244 | frame->grabstate = FRAME_DONE; | 3244 | frame->grabstate = FRAME_DONE; |
3245 | wake_up_interruptible(&frame->wq); | 3245 | wake_up_interruptible(&frame->wq); |
@@ -3405,7 +3405,7 @@ eof: | |||
3405 | RESTRICT_TO_RANGE(frame->bytes_recvd, 8, max_raw); | 3405 | RESTRICT_TO_RANGE(frame->bytes_recvd, 8, max_raw); |
3406 | 3406 | ||
3407 | if (frame->scanstate == STATE_LINES) { | 3407 | if (frame->scanstate == STATE_LINES) { |
3408 | int nextf; | 3408 | int nextf; |
3409 | 3409 | ||
3410 | frame->grabstate = FRAME_DONE; | 3410 | frame->grabstate = FRAME_DONE; |
3411 | wake_up_interruptible(&frame->wq); | 3411 | wake_up_interruptible(&frame->wq); |