Fix handling of the implicit return case for methods called from an
external source (i.e., _STA). The previous case only handled calls occurring within AML. This should fix Toshibas, among others. Thanks to Robert Moore of Intel for the fix. MFC after: 2 days
This commit is contained in:
parent
697831d611
commit
4802655124
@ -167,7 +167,8 @@ AcpiDsIsResultUsed (
|
||||
* An executing method typically has no parent, since each method
|
||||
* is parsed separately.
|
||||
*/
|
||||
if (!Op->Common.Parent)
|
||||
if (!Op->Common.Parent ||
|
||||
Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP)
|
||||
{
|
||||
/*
|
||||
* If this is the last statement in the method, we know it is not a
|
||||
|
Loading…
x
Reference in New Issue
Block a user