On Tue, Aug 15, 2017 at 02:28:11PM +0300, Sakari Ailus wrote:
The V4L2 flash interface allows controlling multiple LEDs through a single sub-devices if, and only if, these LEDs are of different types. This approach scales badly for flash controllers that drive multiple flash LEDs or for LED specific associations. Essentially, the original assumption of a LED driver chip that drives a single flash LED and an indicator LED is no longer valid.
Address the matter by registering one sub-device per LED.
Signed-off-by: Sakari Ailus sakari.ailus@linux.intel.com Reviewed-by: Jacek Anaszewski jacek.anaszewski@gmail.com Acked-by: Pavel Machek pavel@ucw.cz Reviewed-by: Rui Miguel Silva rmfrfs@gmail.com (for greybus/light) Acked-by: Hans Verkuil hans.verkuil@cisco.com
since v3.2:
"3.2"?
Isn't that just "v5"? Please don't be cute with version numbering, we have a hard time telling what is going on, make it obvious...
thanks,
greg k-h