diff options
| author | Hans de Goede <[email protected]> | 2023-01-27 20:37:25 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-02-03 09:22:34 +0000 |
| commit | b6e10ff6c23deb7f01d342875f7a69bae067c3c8 (patch) | |
| tree | e667cbb632bf0562f14b9d0ef795223749bac20e /drivers/platform/x86/intel/int3472/discrete.c | |
| parent | Merge tag 'ib-leds-led_get-v6.3' into HEAD (diff) | |
| download | kernel-b6e10ff6c23deb7f01d342875f7a69bae067c3c8.tar.gz kernel-b6e10ff6c23deb7f01d342875f7a69bae067c3c8.zip | |
media: v4l2-core: Make the v4l2-core code enable/disable the privacy LED if present
Make v4l2_async_register_subdev_sensor() try to get a privacy LED
associated with the sensor and extend the call_s_stream() wrapper to
enable/disable the privacy LED if found.
This makes the core handle privacy LED control, rather then having to
duplicate this code in all the sensor drivers.
Suggested-by: Sakari Ailus <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/int3472/discrete.c')
0 files changed, 0 insertions, 0 deletions
