• K
    hp-wmi: limit hotkey enable · 8a1513b4
    Kyle Evans 提交于
    Do not write initialize magic on systems that do not have
    feature query 0xb. Fixes Bug #82451.
    
    Redefine FEATURE_QUERY to align with 0xb and FEATURE2 with 0xd
    for code clearity.
    
    Add a new test function, hp_wmi_bios_2008_later() & simplify
    hp_wmi_bios_2009_later(), which fixes a bug in cases where
    an improper value is returned. Probably also fixes Bug #69131.
    
    Add missing __init tag.
    Signed-off-by: NKyle Evans <kvans32@gmail.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
    8a1513b4
hp-wmi.c 25.7 KB