mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'bugfixes' into test
This commit is contained in:
commit
955ba39561
9 changed files with 183 additions and 86 deletions
|
|
@ -473,7 +473,7 @@ struct wmi_interface *iface)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
return AE_BAD_ADDRESS;
|
||||
return AE_ERROR;
|
||||
}
|
||||
return AE_OK;
|
||||
}
|
||||
|
|
@ -511,7 +511,7 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap, struct wmi_interface *iface)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
return AE_BAD_ADDRESS;
|
||||
return AE_ERROR;
|
||||
}
|
||||
|
||||
/* Actually do the set */
|
||||
|
|
@ -686,7 +686,7 @@ struct wmi_interface *iface)
|
|||
return 0;
|
||||
}
|
||||
default:
|
||||
return AE_BAD_ADDRESS;
|
||||
return AE_ERROR;
|
||||
}
|
||||
status = WMI_execute_u32(method_id, 0, &result);
|
||||
|
||||
|
|
@ -732,7 +732,7 @@ static acpi_status WMID_set_u32(u32 value, u32 cap, struct wmi_interface *iface)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
return AE_BAD_ADDRESS;
|
||||
return AE_ERROR;
|
||||
}
|
||||
return WMI_execute_u32(method_id, (u32)value, NULL);
|
||||
}
|
||||
|
|
@ -782,7 +782,7 @@ static struct wmi_interface wmid_interface = {
|
|||
|
||||
static acpi_status get_u32(u32 *value, u32 cap)
|
||||
{
|
||||
acpi_status status = AE_BAD_ADDRESS;
|
||||
acpi_status status = AE_ERROR;
|
||||
|
||||
switch (interface->type) {
|
||||
case ACER_AMW0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue