summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-01-27 21:37:27 +0100
committerHans de Goede <hdegoede@redhat.com>2023-02-03 10:22:35 +0100
commit5ae20a8050d08a51fef9769cd53237551f259dbe (patch)
tree7015b9464fda0c2828dd1ad01e3b825afef0c51f /.get_maintainer.ignore
parentplatform/x86: int3472/discrete: Refactor GPIO to sensor mapping (diff)
downloadlinux-5ae20a8050d08a51fef9769cd53237551f259dbe.tar.xz
linux-5ae20a8050d08a51fef9769cd53237551f259dbe.zip
platform/x86: int3472/discrete: Create a LED class device for the privacy LED
On some systems, e.g. the Lenovo ThinkPad X1 Yoga gen 7 and the ThinkPad X1 Nano gen 2 there is no clock-enable pin, triggering the: "No clk GPIO. The privacy LED won't work" warning and causing the privacy LED to not work. Fix this by modeling the privacy LED as a LED class device rather then integrating it with the registered clock. Note this relies on media subsys changes to actually turn the LED on/off when the sensor's v4l2_subdev's s_stream() operand gets called. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20230127203729.10205-4-hdegoede@redhat.com
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions