summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus2017-09-25 11:50:16 +0200
committerMauro Carvalho Chehab2017-10-31 19:07:19 +0100
commit2e8a9fbb79508261703835dd4977014249c9e18f (patch)
tree0d3df9bcf9fd62b3f4fee655417637a48d69c42a /drivers/media/i2c
parentmedia: ov5670: Add support for flash and lens devices (diff)
downloadkernel-qcow2-linux-2e8a9fbb79508261703835dd4977014249c9e18f.tar.gz
kernel-qcow2-linux-2e8a9fbb79508261703835dd4977014249c9e18f.tar.xz
kernel-qcow2-linux-2e8a9fbb79508261703835dd4977014249c9e18f.zip
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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/ov13858.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c
index fdce2befed02..bf7d06f3f21a 100644
--- a/drivers/media/i2c/ov13858.c
+++ b/drivers/media/i2c/ov13858.c
@@ -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;