]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
platform/x86: peaq-wmi: Fix peaq_ignore_events_counter handling off by 1
authorHans de Goede <hdegoede@redhat.com>
Tue, 11 Jul 2017 11:41:34 +0000 (13:41 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 11 Jul 2017 16:08:04 +0000 (09:08 -0700)
commitc1bda752fdaead0c154c13a72a83faabc7dffc82
treece2f10eb79cf4b4651a98bdbcd57921dad37255a
parentb77a5372076984d33731a8da0fd52fc718f62a23
platform/x86: peaq-wmi: Fix peaq_ignore_events_counter handling off by 1

If peaq_ignore_events_counter gets set to 1 we should skip polling 1
time, rather then ignoring it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/peaq-wmi.c