linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v10 0/3] Huawei laptops
@ 2018-12-11  6:01 Ayman Bagabas
  2018-12-11  6:01 ` [PATCH v10 1/3] ALSA: hda: fix front speakers on Huawei MBXP Ayman Bagabas
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ayman Bagabas @ 2018-12-11  6:01 UTC (permalink / raw)
  To: Darren Hart, Andy Shevchenko, Jaroslav Kysela, Takashi Iwai,
	Kailang Yang, Hui Wang, linux-kernel, platform-driver-x86,
	alsa-devel
  Cc: ayman.bagabas

This patch set is based on the new audio LED triggers in topic/leds-trigger branch from
        git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git

Changes in v10:
* Use ec_get_handle instead of acpi_get_handle since we are using the ec device
* Switch to WMI0_EXPENSIVE_GUID and wmi_query_block to fetch keycode when WMI0 is used

Changes in v9:
* Explicitly use NULL in acpi_get_handle
* Drop __initconst from huawei_wmi_keymap

Changes in v8:
* Switch to wmi_driver
* Use devm to allocate and manage devices
* Skip registering LED subsystem if a ACPI controller method was not found

Changes in v7:
* Use audio LED triggers patch set
* Use KEY_CONFIG (XF86Tools) instead of KEY_PROG1.
 In Windows, the key is used to launch Huawei PC manager. XF86Tools is
 used by default on most desktop environments i.e. Gnome.

Changes in v6:
* Review tags

Changes in v5:
* Consistency in file names
* How module would be enabled (Kconfig)
* Match license in SPDX and MODULE_LICENSE 

Changes in v4:
* Code formatting

Changes in v3:
* Support for Huawei MBX
* Style and formatting issues

Ayman Bagabas (3):
  ALSA: hda: fix front speakers on Huawei MBXP.
  x86: add support for Huawei WMI hotkeys.
  ALSA: hda: add support for Huawei WMI micmute LED

 drivers/platform/x86/Kconfig      |  17 +++
 drivers/platform/x86/Makefile     |   1 +
 drivers/platform/x86/huawei-wmi.c | 220 ++++++++++++++++++++++++++++++
 sound/pci/hda/patch_realtek.c     |  22 +++
 4 files changed, 260 insertions(+)
 create mode 100644 drivers/platform/x86/huawei-wmi.c

-- 
2.19.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-12-12 13:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11  6:01 [PATCH v10 0/3] Huawei laptops Ayman Bagabas
2018-12-11  6:01 ` [PATCH v10 1/3] ALSA: hda: fix front speakers on Huawei MBXP Ayman Bagabas
2018-12-11  6:01 ` [PATCH v10 2/3] x86: add support for Huawei WMI hotkeys Ayman Bagabas
2018-12-11 10:14   ` Andy Shevchenko
2018-12-11 20:10     ` ayman.bagabas
2018-12-12  6:56       ` Takashi Iwai
2018-12-12 13:48         ` Andy Shevchenko
2018-12-12 13:49           ` Andy Shevchenko
2018-12-11  6:01 ` [PATCH v10 3/3] ALSA: hda: add support for Huawei WMI micmute LED Ayman Bagabas
2018-12-11 10:09   ` Andy Shevchenko
2018-12-11 10:27     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).