diff mbox series

acpi/method: checks _UPP's return as polling

Message ID 20200504222008.34049-1-alex.hung@canonical.com
State Accepted
Headers show
Series acpi/method: checks _UPP's return as polling | expand

Commit Message

Alex Hung May 4, 2020, 10:20 p.m. UTC
Same as _ALP, _TSP and _TZP

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 5, 2020, 9:37 a.m. UTC | #1
On 04/05/2020 23:20, Alex Hung wrote:
> Same as _ALP, _TSP and _TZP
> 
> 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 d903b994..ecdb65d4 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3363,7 +3363,7 @@ static int method_test_UPD(fwts_framework *fw)
>  static int method_test_UPP(fwts_framework *fw)
>  {
>  	return method_evaluate_method(fw, METHOD_OPTIONAL,
> -		"_UPP", NULL, 0, fwts_method_test_integer_return, NULL);
> +		"_UPP", NULL, 0, fwts_method_test_polling_return, NULL);
>  }
>  
>  /*
> 

Thanks Alex.

Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu May 8, 2020, 7:49 a.m. UTC | #2
On 5/5/20 6:20 AM, Alex Hung wrote:
> Same as _ALP, _TSP and _TZP
> 
> 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 d903b994..ecdb65d4 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3363,7 +3363,7 @@ static int method_test_UPD(fwts_framework *fw)
>  static int method_test_UPP(fwts_framework *fw)
>  {
>  	return method_evaluate_method(fw, METHOD_OPTIONAL,
> -		"_UPP", NULL, 0, fwts_method_test_integer_return, NULL);
> +		"_UPP", 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 d903b994..ecdb65d4 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -3363,7 +3363,7 @@  static int method_test_UPD(fwts_framework *fw)
 static int method_test_UPP(fwts_framework *fw)
 {
 	return method_evaluate_method(fw, METHOD_OPTIONAL,
-		"_UPP", NULL, 0, fwts_method_test_integer_return, NULL);
+		"_UPP", NULL, 0, fwts_method_test_polling_return, NULL);
 }
 
 /*