Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108506
b: refs/heads/master
c: d005741
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Machek authored and Andi Kleen committed Aug 15, 2008
1 parent 19187a0 commit 08029c4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c742b45dd5fbbb6cf74d3378341704f4b23c5e8
refs/heads/master: d0057413a7a277e104cf315faa1b55b60b4a5482
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/processor_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct acpi_processor_errata errata __read_mostly;
static int set_no_mwait(const struct dmi_system_id *id)
{
printk(KERN_NOTICE PREFIX "%s detected - "
"disable mwait for CPU C-stetes\n", id->ident);
"disabling mwait for CPU C-states\n", id->ident);
idle_nomwait = 1;
return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <linux/pm_qos_params.h>
#include <linux/clockchips.h>
#include <linux/cpuidle.h>
#include <linux/cpuidle.h>

/*
* Include the apic definitions for x86 to have the APIC timer related defines
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ struct acpi_buffer *out)
strcpy(method, "WQ");
strncat(method, block->object_id, 2);

status = acpi_evaluate_object(handle, method, &input, out);
status = acpi_evaluate_object(handle, method, NULL, out);

/*
* If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if
Expand Down
19 changes: 0 additions & 19 deletions trunk/drivers/misc/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,30 +803,11 @@ static acpi_status get_u32(u32 *value, u32 cap)

static acpi_status set_u32(u32 value, u32 cap)
{
acpi_status status;

if (interface->capability & cap) {
switch (interface->type) {
case ACER_AMW0:
return AMW0_set_u32(value, cap, interface);
case ACER_AMW0_V2:
if (cap == ACER_CAP_MAILLED)
return AMW0_set_u32(value, cap, interface);

/*
* On some models, some WMID methods don't toggle
* properly. For those cases, we want to run the AMW0
* method afterwards to be certain we've really toggled
* the device state.
*/
if (cap == ACER_CAP_WIRELESS ||
cap == ACER_CAP_BLUETOOTH) {
status = WMID_set_u32(value, cap, interface);
if (ACPI_FAILURE(status))
return status;

return AMW0_set_u32(value, cap, interface);
}
case ACER_WMID:
return WMID_set_u32(value, cap, interface);
default:
Expand Down

0 comments on commit 08029c4

Please sign in to comment.