/* This function is called from the videobuf layer to free memory allocated to the buffers  */
static void vpif_buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
/* This function is called from the videobuf layer to free memory allocated to the buffers  */
static void vpif_buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
{
	struct vpif_fh *fh = q->priv_data;
	struct channel_obj *ch = fh->channel;
	struct common_obj *common;
	common = &ch->common[VPIF_VIDEO_INDEX];
	videobuf_dma_contig_free(q, vb);
	vb->state = VIDEOBUF_NEEDS_INIT;
}