summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2019-06-21 14:20:25 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-15 08:05:57 -0300
commit2f1fc5efe4a59117001544830c183da1765af86f (patch)
treef97286298cc157cb4ebdf1c5bf236282522ec235 /drivers
parentfa4bb7d3acbfb7926d1b46ce6568922bfc99ffeb (diff)
downloadlinux-0-day-2f1fc5efe4a59117001544830c183da1765af86f.tar.gz
linux-0-day-2f1fc5efe4a59117001544830c183da1765af86f.tar.xz
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: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/ov5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
index a0229dfe1983d..500d9bbff10b5 100644
--- a/drivers/media/i2c/ov5640.c
+++ b/drivers/media/i2c/ov5640.c
@@ -3054,7 +3054,7 @@ static int ov5640_probe(struct i2c_client *client)
if (ret)
goto entity_cleanup;
- ret = v4l2_async_register_subdev(&sensor->sd);
+ ret = v4l2_async_register_subdev_sensor_common(&sensor->sd);
if (ret)
goto free_ctrls;