Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: ov5670: 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>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
a42e78da d8932f38

+1 -1
+1 -1
drivers/media/i2c/ov5670.c
··· 2529 2529 } 2530 2530 2531 2531 /* Async register for subdev */ 2532 - ret = v4l2_async_register_subdev(&ov5670->sd); 2532 + ret = v4l2_async_register_subdev_sensor_common(&ov5670->sd); 2533 2533 if (ret < 0) { 2534 2534 err_msg = "v4l2_async_register_subdev() error"; 2535 2535 goto error_entity_cleanup;