]> git.ipfire.org Git - people/arne_f/kernel.git/commit - drivers/platform/x86/acer-wmi.c
platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Tue, 1 Nov 2016 04:30:58 +0000 (12:30 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:28:48 +0000 (09:28 -0800)
commit5241b1938a4d33eee3d3b43f23067c8e5b96db45
treeb05f68bcbbb0e2de8bc9a79960be712faf7c3ba7
parent304887041d953b6692c0d4a9f8fafb252d32e9a0
platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family

The AMW0_GUID1 wmi is not only found on Acer family but also other
machines like Lenovo, Fujitsu and Medion. In the past, acer-wmi handled
those non-Acer machines by quirks list.

But actually acer-wmi driver was loaded on any machine that had
AMW0_GUID1. This behavior is strange because those machines should be
supported by appropriate wmi drivers. e.g. fujitsu-laptop,
ideapad-laptop.

This patch adds the logic to check the machine that has AMW0_GUID1
should be in Acer/Packard Bell/Gateway white list. But, it still keeps
the quirk list of those supported non-acer machines for backward
compatibility.

Tested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/acer-wmi.c