summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <clamor95@gmail.com>2026-05-06 09:48:43 +0300
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-05-15 15:00:44 +0300
commit38547c3d871c46f46e98cc6d10c496984e112978 (patch)
tree48ec337db44f4af0d6e658291c7dc5587583262c /tools/perf/scripts/python/bin
parent621e4f762ed63830d162e7cc994ebab8758fa355 (diff)
media: i2c: lm3560: Fix v4l2 subdev registration
The existing driver does not call media subdev registration, making it invisible to the media framework. Since the LM3560 supports two independent LEDs, register each LED as a separate media entity. Because registering LEDs before device initialization may cause access attempts before the hardware is ready, lm3560_init_device has been moved before the subdevice initializations. An additional helper, lm3560_subdev_cleanup, was added to release LED0 if the initialization of LED1 fails, and to deregister both LEDs in the remove function. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions