diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2020-10-19 20:56:26 +0200 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2020-10-28 12:57:31 +0100 |
| commit | 39aa009bb66f9d5fbd1e58ca4aa03d6e6f2c9915 (patch) | |
| tree | 07df3ea2dc905c44c57039db81963e686734445d /tools/perf/scripts/python | |
| parent | platform/x86: acer-wmi: Cleanup accelerometer device handling (diff) | |
| download | linux-39aa009bb66f9d5fbd1e58ca4aa03d6e6f2c9915.tar.gz linux-39aa009bb66f9d5fbd1e58ca4aa03d6e6f2c9915.zip | |
platform/x86: acer-wmi: Add new force_caps module parameter
Add a new force_caps module parameter to allow overriding the drivers
builtin capability detection mechanism.
This can be used to for example:
-Disable rfkill functionality on devices where there is an AA OEM DMI
record advertising non functional rfkill switches
-Force loading of the driver on devices with a missing AA OEM DMI record
Note that force_caps is -1 when unset, this allows forcing the
capability field to 0, which results in acer-wmi only providing WMI
hotkey handling while disabling all other (led, rfkill, backlight)
functionality.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201019185628.264473-4-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
