]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/platform/vsp1/vsp1_entity.h
[media] v4l: vsp1: Remove unneeded entity streaming flag
[karo-tx-linux.git] / drivers / media / platform / vsp1 / vsp1_entity.h
index c0d6db82ebfb7c8ddbc4a6f3ffcb53331d7ca5fa..203872164f8e61a4ea55d31e3796eee115f79d53 100644 (file)
@@ -73,9 +73,6 @@ struct vsp1_entity {
 
        struct v4l2_subdev subdev;
        struct v4l2_mbus_framefmt *formats;
-
-       spinlock_t lock;                /* Protects the streaming field */
-       bool streaming;
 };
 
 static inline struct vsp1_entity *to_vsp1_entity(struct v4l2_subdev *subdev)
@@ -100,9 +97,6 @@ vsp1_entity_get_pad_format(struct vsp1_entity *entity,
 void vsp1_entity_init_formats(struct v4l2_subdev *subdev,
                              struct v4l2_subdev_pad_config *cfg);
 
-bool vsp1_entity_is_streaming(struct vsp1_entity *entity);
-void vsp1_entity_set_streaming(struct vsp1_entity *entity, bool streaming);
-
 void vsp1_entity_route_setup(struct vsp1_entity *source);
 
 void vsp1_mod_write(struct vsp1_entity *e, u32 reg, u32 data);