diff mbox series

acpi/method: check _WPP returns by fwts_method_test_polling_return

Message ID 20200519170402.1369543-1-alex.hung@canonical.com
State Accepted
Headers show
Series acpi/method: check _WPP returns by fwts_method_test_polling_return | expand

Commit Message

Alex Hung May 19, 2020, 5:04 p.m. UTC
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/method/method.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King May 19, 2020, 5:14 p.m. UTC | #1
On 19/05/2020 18:04, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 9463b2a8..e0c8c96d 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4384,7 +4384,7 @@ static int method_test_WPC(fwts_framework *fw)
>  static int method_test_WPP(fwts_framework *fw)
>  {
>  	return method_evaluate_method(fw, METHOD_OPTIONAL,
> -		"_WPP", NULL, 0, fwts_method_test_integer_return, NULL);
> +		"_WPP", NULL, 0, fwts_method_test_polling_return, NULL);
>  }
>  
>  /*
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu May 22, 2020, 6:44 a.m. UTC | #2
On 5/20/20 1:04 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 9463b2a8..e0c8c96d 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4384,7 +4384,7 @@ static int method_test_WPC(fwts_framework *fw)
>  static int method_test_WPP(fwts_framework *fw)
>  {
>  	return method_evaluate_method(fw, METHOD_OPTIONAL,
> -		"_WPP", NULL, 0, fwts_method_test_integer_return, NULL);
> +		"_WPP", NULL, 0, fwts_method_test_polling_return, NULL);
>  }
>  
>  /*
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 9463b2a8..e0c8c96d 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -4384,7 +4384,7 @@  static int method_test_WPC(fwts_framework *fw)
 static int method_test_WPP(fwts_framework *fw)
 {
 	return method_evaluate_method(fw, METHOD_OPTIONAL,
-		"_WPP", NULL, 0, fwts_method_test_integer_return, NULL);
+		"_WPP", NULL, 0, fwts_method_test_polling_return, NULL);
 }
 
 /*