Commit 2e8a9fbb authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: ov13858: 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 a42e78da
...@@ -1761,7 +1761,7 @@ static int ov13858_probe(struct i2c_client *client, ...@@ -1761,7 +1761,7 @@ static int ov13858_probe(struct i2c_client *client,
goto error_handler_free; goto error_handler_free;
} }
ret = v4l2_async_register_subdev(&ov13858->sd); ret = v4l2_async_register_subdev_sensor_common(&ov13858->sd);
if (ret < 0) if (ret < 0)
goto error_media_entity; goto error_media_entity;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment