media: et8ek8: Add support for flash and lens devices
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 25 Sep 2017 09:51:51 +0000 (05:51 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 18:05:39 +0000 (14:05 -0400)
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>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/et8ek8/et8ek8_driver.c

index c14f0fd..e9eff90 100644 (file)
@@ -1453,7 +1453,7 @@ static int et8ek8_probe(struct i2c_client *client,
                goto err_mutex;
        }
 
-       ret = v4l2_async_register_subdev(&sensor->subdev);
+       ret = v4l2_async_register_subdev_sensor_common(&sensor->subdev);
        if (ret < 0)
                goto err_entity;