[PATCH v5 0/5] Process Dell Instant Launch hotkey on Vostro V131 and Inspiron M5110

From: MichaÅ KÄpieÅ
Date: Fri Mar 04 2016 - 08:08:18 EST


This patch series makes use of the API exported by dell-smbios, so it
should be applied to either testing or dell-smbios.

Pali, I added your Reviewed-by/Acked-by tags to all patches except 4/5;
it is the last one awaiting your approval.

Changes from v4:

- Filter Dell Instant Launch hotkey based on reported keycode instead
of mapped keycode (patch 4/5)

- Added further explanations to the commit message for patch 4/5

Changes from v3:

- Extract code issuing the WMI-controlling SMBIOS request into a
separate function

- Document the SMBIOS request used

- Split keymap section "Shortcut and audio panel keys" into two
separate sections

Changes from v2:

- Use a static variable instead of a quirk structure

- Use API exported by dell-smbios to issue the SMBIOS request required
for generating WMI events, returning with error from dell_wmi_init()
if it fails

- Move dell_smi_error() from dell-laptop to dell-smbios and use it to
determine error code for returning from dell_wmi_init() when
enabling WMI fails

- Support Dell Inspiron M5110

Changes from v1:

- Use DMI matching instead of a module parameter
- Change flag name to improve readability

drivers/platform/x86/Kconfig | 1 +
drivers/platform/x86/dell-laptop.c | 30 ++++---------
drivers/platform/x86/dell-smbios.c | 16 +++++++
drivers/platform/x86/dell-smbios.h | 2 +
drivers/platform/x86/dell-wmi.c | 84 +++++++++++++++++++++++++++++++++++-
5 files changed, 109 insertions(+), 24 deletions(-)

--
1.7.10.4