Re: [PATCH v4 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

From: Randy Dunlap
Date: Mon Mar 01 2021 - 15:54:34 EST


On 3/1/21 1:37 AM, Perry Yuan wrote:
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index 91e6176cdfbd..e20f79389a39 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -491,6 +491,23 @@ config DELL_WMI_LED
> This adds support for the Latitude 2100 and similar
> notebooks that have an external LED.
>
> +config DELL_PRIVACY
> + tristate "Dell Hardware Privacy Support"
> + depends on ACPI
> + depends on ACPI_WMI
> + depends on INPUT
> + depends on DELL_LAPTOP
> + depends on LEDS_TRIGGER_AUDIO
> + select DELL_WMI
> + help

The "help" keyword should be indented only with one tab. Drop the
2 additional spaces for it.

> + This driver provides support for the "Dell Hardware Privacy" feature
> + of Dell laptops.
> + Support for a micmute and camera mute privacy will be provided as
> + hardware button Ctrl+F4 and Ctrl+F9 hotkey.
> +
> + To compile this driver as a module, choose M here: the module will
> + be called dell_privacy.


--
~Randy