X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Facpi%2Fdevice_pm.c;h=85bb3d80a11c33adc55cb16c7ebea67d34494f23;hb=49fe0353689901b937ff21047a14d315bbbf78f3;hp=bea6896be1229b12d5983bb7a738db2c256fd3d1;hpb=8df6be116c87314e35c2ac9de35561b57f87739f;p=cascardo%2Flinux.git diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index bea6896be122..85bb3d80a11c 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -710,7 +710,7 @@ int acpi_pm_device_run_wake(struct device *phys_dev, bool enable) return -ENODEV; } - return acpi_device_wakeup(adev, enable, ACPI_STATE_S0); + return acpi_device_wakeup(adev, ACPI_STATE_S0, enable); } EXPORT_SYMBOL(acpi_pm_device_run_wake); #endif /* CONFIG_PM_RUNTIME */