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@xxxxxxxxxxxxxxx> > Reviewed-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx> > Acked-by: Pavel Machek <pavel@xxxxxx> > Reviewed-by: Rui Miguel Silva <rmfrfs@xxxxxxxxx> (for greybus/light) > Acked-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> > --- > 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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel