OSDN Git Service

platform/x86: dell-ddv: Add "force" module param
authorArmin Wolf <W_Armin@gmx.de>
Thu, 26 Jan 2023 19:40:20 +0000 (20:40 +0100)
committerHans de Goede <hdegoede@redhat.com>
Fri, 3 Feb 2023 09:01:50 +0000 (10:01 +0100)
commitcf2cc541423f51731c5844dddb0699e301616a86
tree2bc84a970a2716591373e4000f8542b735db80f4
parent8b52501c408b3ae5f2c5768a74e3db2fa83b4c52
platform/x86: dell-ddv: Add "force" module param

Until now, the dell-wmi-ddv driver needs to be manually
patched and compiled to test compatibility with unknown
DDV WMI interface versions.

Add a module param to allow users to force loading even
when a unknown interface version was detected. Since this
might cause various unwanted side effects, the module param
is marked as unsafe.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230126194021.381092-5-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell/dell-wmi-ddv.c