mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 10:46:53 +07:00
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: 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
d8932f38c1
commit
a42e78da59
@ -2529,7 +2529,7 @@ static int ov5670_probe(struct i2c_client *client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Async register for subdev */
|
/* Async register for subdev */
|
||||||
ret = v4l2_async_register_subdev(&ov5670->sd);
|
ret = v4l2_async_register_subdev_sensor_common(&ov5670->sd);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
err_msg = "v4l2_async_register_subdev() error";
|
err_msg = "v4l2_async_register_subdev() error";
|
||||||
goto error_entity_cleanup;
|
goto error_entity_cleanup;
|
||||||
|
Loading…
Reference in New Issue
Block a user