Searched refs:subdev_fh (Results 1 – 1 of 1) sorted by relevance
99 struct v4l2_subdev_fh *subdev_fh; in subdev_open() local102 subdev_fh = kzalloc_obj(*subdev_fh); in subdev_open()103 if (subdev_fh == NULL) in subdev_open()106 ret = subdev_fh_init(subdev_fh, sd); in subdev_open()108 kfree(subdev_fh); in subdev_open()112 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()113 v4l2_fh_add(&subdev_fh->vfh, file); in subdev_open()123 subdev_fh->owner = owner; in subdev_open()127 ret = sd->internal_ops->open(sd, subdev_fh); in subdev_open()135 module_put(subdev_fh->owner); in subdev_open()[all …]