Home
last modified time | relevance | path

Searched refs:subdev_fh (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-subdev.c57 struct v4l2_subdev_fh *subdev_fh; in subdev_open() local
63 subdev_fh = kzalloc(sizeof(*subdev_fh), GFP_KERNEL); in subdev_open()
64 if (subdev_fh == NULL) in subdev_open()
67 ret = subdev_fh_init(subdev_fh, sd); in subdev_open()
69 kfree(subdev_fh); in subdev_open()
73 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
74 v4l2_fh_add(&subdev_fh->vfh); in subdev_open()
75 file->private_data = &subdev_fh->vfh; in subdev_open()
87 ret = sd->internal_ops->open(sd, subdev_fh); in subdev_open()
98 v4l2_fh_del(&subdev_fh->vfh); in subdev_open()
[all …]