diff options
| author | Sakari Ailus <[email protected]> | 2017-07-18 09:26:59 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-08-26 20:26:35 -0400 |
| commit | 503dd28af108888c505e8d6a86f4acf5eb20f3b7 (patch) | |
| tree | dea246924c83804906a36d125b2d33f26af68de8 /tools/perf/scripts/python | |
| parent | 428359cbfe086f43cb84b7ab7b48e7e7862700e2 (diff) | |
media: v4l2-flash-led-class: Create separate sub-devices for indicators
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 <[email protected]>
Reviewed-by: Jacek Anaszewski <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Rui Miguel Silva <[email protected]> (for greybus/light)
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions