Commit 2f1fc5ef authored by Luca Weiss's avatar Luca Weiss Committed by Mauro Carvalho Chehab

media: ov5640: 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 avatarLuca Weiss <luca@z3ntu.xyz>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent fa4bb7d3
...@@ -3054,7 +3054,7 @@ static int ov5640_probe(struct i2c_client *client) ...@@ -3054,7 +3054,7 @@ static int ov5640_probe(struct i2c_client *client)
if (ret) if (ret)
goto entity_cleanup; goto entity_cleanup;
ret = v4l2_async_register_subdev(&sensor->sd); ret = v4l2_async_register_subdev_sensor_common(&sensor->sd);
if (ret) if (ret)
goto free_ctrls; goto free_ctrls;
......
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