Re: [PATCH] ACPI: invoke acpi_device_wakeup() with correct parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, October 23, 2014 08:25:27 PM Zhang Rui wrote:
> From f0d75284074478790a50655bf3cc1096f5f943fa Mon Sep 17 00:00:00 2001
> From: Zhang Rui <rui.zhang@xxxxxxxxx>
> Date: Thu, 23 Oct 2014 20:20:00 +0800
> Subject: [PATCH] ACPI: invoke acpi_device_wakeup() with correct parameters
> 
> Fix a bug that invokes acpi_device_wakeup() with wrong parameters.
> 
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>

Applied, thanks!

> ---
>  drivers/acpi/device_pm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c
> index 9177547..b4743d4 100644
> --- a/drivers/acpi/device_pm.c
> +++ b/drivers/acpi/device_pm.c
> @@ -711,7 +711,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 */
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux