diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-12-21 23:07:23 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-01-12 19:40:19 +0100 |
commit | 1af7fef0d9d3fa075bf4e850f705df1fe97d33ce (patch) | |
tree | 68d33ab49ffa9254be0d32e3f7b721f46e629a62 /include/linux/fpga/fpga-mgr.h | |
parent | 01fd7e7851ba2275662f771ee17d1f80e7bbfa52 (diff) |
platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
Use KE_VSW instead of KE_SW for the SW_CAMERA_LENS_COVER key_entry
and get the value of the switch from the status field when handling
SW_CAMERA_LENS_COVER events, instead of always reporting 0.
Also correctly set the initial SW_CAMERA_LENS_COVER value.
Fixes: 8af9fa37b8a3 ("platform/x86: dell-privacy: Add support for Dell hardware privacy")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20221221220724.119594-1-hdegoede@redhat.com
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions