mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge branch 'linus' into irq/numa
Conflicts: arch/mips/sibyte/bcm1480/irq.c arch/mips/sibyte/sb1250/irq.c Merge reason: we gathered a few conflicts plus update to latest upstream fixes. Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
commit
3d58f48ba0
758 changed files with 19610 additions and 5324 deletions
|
|
@ -110,11 +110,9 @@ static int pnpacpi_disable_resources(struct pnp_dev *dev)
|
|||
|
||||
/* acpi_unregister_gsi(pnp_irq(dev, 0)); */
|
||||
ret = 0;
|
||||
if (acpi_bus_power_manageable(handle)) {
|
||||
ret = acpi_bus_set_power(handle, ACPI_STATE_D3);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
if (acpi_bus_power_manageable(handle))
|
||||
acpi_bus_set_power(handle, ACPI_STATE_D3);
|
||||
/* continue even if acpi_bus_set_power() fails */
|
||||
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_DIS", NULL, NULL)))
|
||||
ret = -ENODEV;
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue