• Lee, Chun-Yi's avatar
    platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family · 5241b193
    Lee, Chun-Yi authored
    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: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarLee, Chun-Yi <jlee@suse.com>
    Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
    5241b193
acer-wmi.c 53.1 KB