diff options
author | Kyle Evans <kvans32@gmail.com> | 2015-09-11 10:40:17 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-27 22:12:47 -0400 |
commit | 3cd079e563ff5ffc475114e9f0d140f7882d56d2 (patch) | |
tree | 8708af0cb2c5c0ba0363082e467ca2b404271db5 /arch | |
parent | 2889a072fc7d3d94fff4ec6ad5db9c2fbc37c335 (diff) | |
download | linux-stable-3cd079e563ff5ffc475114e9f0d140f7882d56d2.tar.gz linux-stable-3cd079e563ff5ffc475114e9f0d140f7882d56d2.tar.bz2 linux-stable-3cd079e563ff5ffc475114e9f0d140f7882d56d2.zip |
hp-wmi: limit hotkey enable
[ Upstream commit 8a1513b49321e503fd6c8b6793e3b1f9a8a3285b ]
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: Kyle Evans <kvans32@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions