Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a42e78da authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

media: ov5670: Add support for flash and lens devices



Parse async sub-devices related to the sensor by switching the async
sub-device registration function.

Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d8932f38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2529,7 +2529,7 @@ static int ov5670_probe(struct i2c_client *client)
	}

	/* Async register for subdev */
	ret = v4l2_async_register_subdev(&ov5670->sd);
	ret = v4l2_async_register_subdev_sensor_common(&ov5670->sd);
	if (ret < 0) {
		err_msg = "v4l2_async_register_subdev() error";
		goto error_entity_cleanup;