提交 d8932f38 编写于 作者: S Sakari Ailus 提交者: Mauro Carvalho Chehab

media: et8ek8: 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: NSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
Acked-by: NPavel Machek <pavel@ucw.cz>
Reviewed-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 c121ce59
...@@ -1453,7 +1453,7 @@ static int et8ek8_probe(struct i2c_client *client, ...@@ -1453,7 +1453,7 @@ static int et8ek8_probe(struct i2c_client *client,
goto err_mutex; goto err_mutex;
} }
ret = v4l2_async_register_subdev(&sensor->subdev); ret = v4l2_async_register_subdev_sensor_common(&sensor->subdev);
if (ret < 0) if (ret < 0)
goto err_entity; goto err_entity;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册