mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
a42e78da59
commit
2e8a9fbb79
1 changed files with 1 additions and 1 deletions
|
@ -1761,7 +1761,7 @@ static int ov13858_probe(struct i2c_client *client,
|
|||
goto error_handler_free;
|
||||
}
|
||||
|
||||
ret = v4l2_async_register_subdev(&ov13858->sd);
|
||||
ret = v4l2_async_register_subdev_sensor_common(&ov13858->sd);
|
||||
if (ret < 0)
|
||||
goto error_media_entity;
|
||||
|
||||
|
|
Loading…
Reference in a new issue