|
@@ -1026,11 +1026,7 @@ struct vsp1_video *vsp1_video_create(struct vsp1_device *vsp1,
|
|
|
spin_lock_init(&video->irqlock);
|
|
|
INIT_LIST_HEAD(&video->irqqueue);
|
|
|
|
|
|
- mutex_init(&video->pipe.lock);
|
|
|
- spin_lock_init(&video->pipe.irqlock);
|
|
|
- INIT_LIST_HEAD(&video->pipe.entities);
|
|
|
- init_waitqueue_head(&video->pipe.wq);
|
|
|
- video->pipe.state = VSP1_PIPELINE_STOPPED;
|
|
|
+ vsp1_pipeline_init(&video->pipe);
|
|
|
video->pipe.frame_end = vsp1_video_pipeline_frame_end;
|
|
|
|
|
|
/* Initialize the media entity... */
|