Skip to content

Commit

Permalink
xnu-2050.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Darwin authored and das committed Jun 4, 2017
1 parent 8e385d8 commit a849f5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/MasterVersion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
12.0.0
12.1.0

# The first line of this file contains the master version number for the kernel.
# All other instances of the kernel version in xnu are derived from this file.
Expand Down
5 changes: 2 additions & 3 deletions iokit/Kernel/IOServicePM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ void IOService::addPowerChild3 ( IOPMRequest * request )

if (child && inPlane(gIOPowerPlane))
{
if (child->getProperty("IOPMStrictTreeOrder"))
if ((this != rootDomain) && child->getProperty("IOPMStrictTreeOrder"))
{
PM_LOG1("%s: strict PM order enforced\n", getName());
fStrictTreeOrder = true;
Expand Down Expand Up @@ -3487,8 +3487,8 @@ void IOService::notifyChildrenOrdered ( void )
{
IOPowerConnection * connection;
connection = (IOPowerConnection *) fNotifyChildArray->getObject(0);
fNotifyChildArray->removeObject(0);
notifyChild( connection );
fNotifyChildArray->removeObject(0);
}
else
{
Expand Down Expand Up @@ -3779,7 +3779,6 @@ bool IOService::notifyChild ( IOPowerConnection * theNub )
theChild = (IOService *)(theNub->copyChildEntry(gIOPowerPlane));
if (!theChild)
{
assert(false);
return true;
}

Expand Down

0 comments on commit a849f5b

Please sign in to comment.