]> git.karo-electronics.de Git - mv-sheeva.git/commit
X86 platform wmi: Introduce debug param to log all WMI events
authorThomas Renninger <trenn@suse.de>
Mon, 3 May 2010 13:30:15 +0000 (15:30 +0200)
committerMatthew Garrett <mjg@redhat.com>
Thu, 20 May 2010 13:46:15 +0000 (09:46 -0400)
commitfc3155b2c6419a442c6f8b34a3bf31f8efe0fe33
tree5e95c022dbb2770fa06d78c6042fc7445c9093df
parent7ab52521f2d850e922f33e5586a47e6c83ec6f11
X86 platform wmi: Introduce debug param to log all WMI events

To give people easily an idea what could be WMI driven on their system.
Introduces:
wmi.debug=[01]

Tested on an acer:
ACPI: WMI: DEBUG Event INTEGER_TYPE - 65535

Situation where a driver registers for specific event and debug
handler gets overridden and set again if the registering driver gets
unloaded again is untested, but should work.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: platform-driver-x86@vger.kernel.org
CC: mjg59@srcf.ucam.org
CC: corentin.chary@gmail.com
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/wmi.c