]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: peaq-wmi: Add DMI check before binding to the WMI interface
authorHans de Goede <hdegoede@redhat.com>
Thu, 5 Oct 2017 18:04:04 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 09:24:35 +0000 (10:24 +0100)
commitea6af85855b6758b8bd77d9521a5e651dc36dfc9
tree64e5f779099ac25e3e47f695d7bee5b6d0a9ba01
parent56190dc9c05e58b0e809f6001dc5cc8159d6a32f
platform/x86: peaq-wmi: Add DMI check before binding to the WMI interface

commit 3b95206110a2c13076c3a7fa8ddeae36c2dbcf42 upstream.

It seems that the WMI GUID used by the PEAQ 2-in-1 WMI hotkeys is not
as unique as a GUID should be and is used on some other devices too.

This is causing spurious key-press reports on these other devices.

This commits adds a DMI check to the PEAQ 2-in-1 WMI hotkeys driver to
ensure that it is actually running on a PEAQ 2-in-1, fixing the
spurious key-presses on these other devices.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1497861
BugLink: https://bugzilla.suse.com/attachment.cgi?id=743182
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/peaq-wmi.c