On 06/28/2018 11:24 AM, Marc-André Lureau wrote:
+ ifctx2 = aml_if(aml_equal(func_idx, aml_int(3))); + { + /* revision to integer */ + aml_append(ifctx2, + aml_store( + aml_to_integer(aml_arg(1)),same do you need cast here, by spec it's 'int' already?Yeah, looks like it's unnecessary. Stefan?
Iirc some things were not working at the beginning when I wrote this ACPI thing and one problem went away by doing this cast, though it may have overlapped with other issues. I cannot say for sure.
