ACPI: WMI: Set instance for query block calls
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Sat, 2 Aug 2008 16:28:45 +0000 (17:28 +0100)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 00:25:01 +0000 (02:25 +0200)
commitdab36ad8d50dc9424dfc4926f62aaf9bd52dcf13
tree473b84ac9e2d43b74b9f799e234eeda7497becb4
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5
ACPI: WMI: Set instance for query block calls

Although the necessary data structure was set up, it was never actually
passed in, so data block calls have only been working by sheer chance.

(On Acer laptops. the data block methods we've been calling never look at
the instance value, hence acer-wmi never triggered this before).

f3454ae8104efb2dbf0d08ec42c6f5d0fe9225bc brought this to light.

Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/wmi.c