mirror of
https://github.com/acpica/acpica/
synced 2025-03-06 22:31:56 +03:00
use new ResolveReferences for Sx resolution
date 2000.10.09.21.11.00; author agrover; state Exp;
This commit is contained in:
parent
a30a40780a
commit
f10e46de37
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Module Name: hwregs - Read/write access functions for the various ACPI
|
||||
* control and status registers.
|
||||
* $Revision: 1.69 $
|
||||
* $Revision: 1.70 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -285,15 +285,9 @@ AcpiHwObtainSleepTypeRegisterData (
|
||||
* two elements
|
||||
*/
|
||||
|
||||
if (ObjDesc->Common.Type != ACPI_TYPE_PACKAGE)
|
||||
{
|
||||
/* Must be a package */
|
||||
Status = AcpiCmResolvePackageReferences(ObjDesc);
|
||||
|
||||
REPORT_ERROR (("Sleep State object is not of type Package\n"));
|
||||
Status = AE_ERROR;
|
||||
}
|
||||
|
||||
else if (ObjDesc->Package.Count < 2)
|
||||
if (ObjDesc->Package.Count < 2)
|
||||
{
|
||||
/* Must have at least two elements */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user