aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.c')
-rw-r--r--drivers/media/video/cx18/cx18-streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c
index e6d808f7cc8..e218e4d0ebf 100644
--- a/drivers/media/video/cx18/cx18-streams.c
+++ b/drivers/media/video/cx18/cx18-streams.c
@@ -132,7 +132,7 @@ static void cx18_stream_init(struct cx18 *cx, int type)
132 s->buffers = 63; 132 s->buffers = 63;
133 s->buf_size = (max_size / s->buffers) & ~0xfff; 133 s->buf_size = (max_size / s->buffers) & ~0xfff;
134 } 134 }
135 spin_lock_init(&s->qlock); 135 mutex_init(&s->qlock);
136 init_waitqueue_head(&s->waitq); 136 init_waitqueue_head(&s->waitq);
137 s->id = -1; 137 s->id = -1;
138 cx18_queue_init(&s->q_free); 138 cx18_queue_init(&s->q_free);