From: Kyle Evans Date: Fri, 11 Sep 2015 15:40:17 +0000 (-0500) Subject: hp-wmi: limit hotkey enable X-Git-Tag: omap-for-v4.3/fixes-rc5~118^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a1513b49321e503fd6c8b6793e3b1f9a8a3285b;p=pandora-kernel.git hp-wmi: limit hotkey enable 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 Cc: stable@vger.kernel.org Signed-off-by: Darren Hart --- Reading git-diff-tree failed