media: smiapp: Add support for flash and lens devices
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sun, 24 Sep 2017 22:53:38 +0000 (18:53 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 18:05:01 +0000 (14:05 -0400)
commitc121ce59152a9cc00fbff0ca12becfc0ef0b8663
treeb6c872bdd2507c6862338ecd9e120f4b90ce9b3d
parente4219f9f9c98ae28874c2b7390a561a2a77e6f64
media: smiapp: Add support for flash and lens devices

Parse async sub-devices related to the sensor by switching the async
sub-device registration function.

These types devices aren't directly related to the sensor, but are
nevertheless handled by the smiapp driver due to the relationship of these
component to the main part of the camera module --- the sensor.

This does not yet address providing the user space with information on how
to associate the sensor or lens devices but the kernel now has the
necessary information to do that.

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/smiapp/smiapp-core.c