Home
last modified time | relevance | path

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

/drivers/media/i2c/
Ddw9807-vcm.c158 static void dw9807_subdev_cleanup(struct dw9807_device *dw9807_dev) in dw9807_subdev_cleanup() argument
160 v4l2_async_unregister_subdev(&dw9807_dev->sd); in dw9807_subdev_cleanup()
161 v4l2_ctrl_handler_free(&dw9807_dev->ctrls_vcm); in dw9807_subdev_cleanup()
162 media_entity_cleanup(&dw9807_dev->sd.entity); in dw9807_subdev_cleanup()
188 struct dw9807_device *dw9807_dev; in dw9807_probe() local
191 dw9807_dev = devm_kzalloc(&client->dev, sizeof(*dw9807_dev), in dw9807_probe()
193 if (dw9807_dev == NULL) in dw9807_probe()
196 v4l2_i2c_subdev_init(&dw9807_dev->sd, client, &dw9807_ops); in dw9807_probe()
197 dw9807_dev->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in dw9807_probe()
198 dw9807_dev->sd.internal_ops = &dw9807_int_ops; in dw9807_probe()
[all …]