ACK: [PATCH 3/5] acpi: method: add _RST test

ivanhu ivan.hu at canonical.com
Tue Aug 18 03:25:02 UTC 2015



On 2015年08月11日 17:10, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>   src/acpi/method/method.c | 9 ++++++++-
>   1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 7297b87..d5efb04 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -188,7 +188,7 @@
>    * _REV  5.7.4		n/a
>    * _RMV  6.3.6		Y
>    * _ROM  B.4.3		Y
> - * _RST  7.3.25		N
> + * _RST  7.3.25		Y
>    * _RTV  11.4.10	Y
>    * _S0_  7.3.4.1	Y
>    * _S1_  7.3.4.2	Y
> @@ -2892,6 +2892,12 @@ method_test_SxW(_S2W)
>   method_test_SxW(_S3W)
>   method_test_SxW(_S4W)
>   
> +static int method_test_RST(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL,
> +		"_RST", NULL, 0, method_test_NULL_return, NULL);
> +}
> +
>   static int method_test_IRC(fwts_framework *fw)
>   {
>   	return method_evaluate_method(fw, METHOD_OPTIONAL,
> @@ -6376,6 +6382,7 @@ static fwts_framework_minor_test method_tests[] = {
>   	{ method_test_S2W, "Test _S2W (S2 Device Wake State)." },
>   	{ method_test_S3W, "Test _S3W (S3 Device Wake State)." },
>   	{ method_test_S4W, "Test _S4W (S4 Device Wake State)." },
> +	{ method_test_RST, "Test _RST (Device Reset)." },
>   
>   	/* Section 7.3 OEM-Supplied System-Level Control Methods */
>   	{ method_test_S0_, "Test _S0_ (S0 System State)." },

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



More information about the fwts-devel mailing list