ACK: [PATCH 1/3] acpi: method: add _WPP method test (introduced in ACPI 6.1)

ivanhu ivan.hu at canonical.com
Wed Jun 8 07:09:29 UTC 2016



On 2016年06月07日 11:54, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>   src/acpi/method/method.c | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 7adb3fa..dcf3eb7 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -246,6 +246,7 @@
>    * _UPP 	 Y
>    * _VPO 	 Y
>    * _WAK 	 Y
> + * _WPP 	 Y
>    * _Wxx 	 n/a
>    * _WDG 	 N
>    * _WED 	 N
> @@ -5621,6 +5622,15 @@ static int method_test_PMM(fwts_framework *fw)
>   }
>
>   /*
> + * Section 10.5 Wireless Power Controllers
> + */
> +static int method_test_WPP(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL,
> +		"_WPP", NULL, 0, method_test_integer_return, NULL);
> +}
> +
> +/*
>    * Section 11.3 Fan Devices
>    */
>   static void method_test_FIF_return(
> @@ -7077,6 +7087,9 @@ static fwts_framework_minor_test method_tests[] = {
>   	/* { method_test_PTP, "Test _PTP (Power Trip Points)." }, */
>   	/* { method_test_SHL, "Test _SHL (Set Hardware Limit)." }, */
>
> +	/* Section 10.5 Wireless Power Controllers */
> +	{ method_test_WPP, "Test _WPP (Wireless Power Polling)." },
> +
>   	/* Section 11.3 Fan Devices */
>
>   	{ method_test_FIF, "Test _FIF (Fan Information)." },
>

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list