}
}
+void clear_video_info(void)
+{
+ struct video_info *video_info, *next;
+
+ list_for_each_entry_safe(video_info, next, &ddr.video_info_list, node) {
+ del_video_info(video_info);
+ }
+}
+
struct video_info *find_video_info(struct video_info *match_video_info)
{
struct video_info *video_info;
static int video_state_release(struct inode *inode, struct file *file)
{
dprintk(DEBUG_VIDEO_STATE, "video_state release\n");
+ clear_video_info();
+ update_video_info();
return 0;
}