예제 #1
0
void videobuf_stop(struct videobuf_queue *q)
{
	mutex_lock(&q->lock);

	if (q->streaming)
		__videobuf_streamoff(q);

	if (q->reading)
		__videobuf_read_stop(q);

	mutex_unlock(&q->lock);
}
예제 #2
0
void videobuf_stop(struct videobuf_queue *q)
{
	videobuf_queue_lock(q);

	if (q->streaming)
		__videobuf_streamoff(q);

	if (q->reading)
		__videobuf_read_stop(q);

	videobuf_queue_unlock(q);
}
예제 #3
0
void videobuf_read_stop(struct videobuf_queue *q)
{
	mutex_lock(&q->lock);
	__videobuf_read_stop(q);
	mutex_unlock(&q->lock);
}
예제 #4
0
void videobuf_read_stop(struct videobuf_queue *q)
{
	videobuf_queue_lock(q);
	__videobuf_read_stop(q);
	videobuf_queue_unlock(q);
}