]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acer-wmi: fix bitwise bug when set device state
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Tue, 31 May 2011 06:20:11 +0000 (14:20 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 11 Jul 2011 13:43:17 +0000 (09:43 -0400)
commit056cafcedf4acd81fe1ba44ef18f9c67e8808c76
tree94dffde9b854964167587403bbe164256af03f6d
parent62a10252ae5b0bd0639cda910c5f25037fa39bd8
acer-wmi: fix bitwise bug when set device state

Fix a bitwise bug that was found by Joern Heissler, it must be OR
but not AND when we query current device state.

Acked-by: Joern Heissler <linux-acpi@joern.heissler.de>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c