Message ID | 20200521023412.1553119-1-alex.hung@canonical.com |
---|---|
State | Not Applicable |
Headers | show |
Series | acpi/method: check _WPP returns by fwts_method_test_polling_return | expand |
On 2020-05-20 8:33 p.m., 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); > } > > /* > Please ignore this duplicated patch. I sent it by accident. Thanks
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); } /*
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/acpi/method/method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)