/* vpif_poll: It is used for select/poll system call  */
static unsigned int vpif_poll(struct file *filep, poll_table *wait)
/* vpif_poll: It is used for select/poll system call  */
static unsigned int vpif_poll(struct file *filep, poll_table *wait)
{
	struct vpif_fh *fh = filep->private_data;
	struct channel_obj *ch = fh->channel;
	struct common_obj *common = &ch->common[VPIF_VIDEO_INDEX];
	if (common->started)
		return videobuf_poll_stream(filep, &common->buffer_queue, wait);
	return 0;
}