diff options
Diffstat (limited to 'source/components/events/evxfregn.c')
-rw-r--r-- | source/components/events/evxfregn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/components/events/evxfregn.c b/source/components/events/evxfregn.c index 1126bbe53b781..d26f3bf053dde 100644 --- a/source/components/events/evxfregn.c +++ b/source/components/events/evxfregn.c @@ -114,7 +114,8 @@ AcpiInstallAddressSpaceHandler ( /* Install the handler for all Regions for this Space ID */ - Status = AcpiEvInstallSpaceHandler (Node, SpaceId, Handler, Setup, Context); + Status = AcpiEvInstallSpaceHandler ( + Node, SpaceId, Handler, Setup, Context); if (ACPI_FAILURE (Status)) { goto UnlockAndExit; @@ -144,6 +145,7 @@ AcpiInstallAddressSpaceHandler ( if (!AcpiGbl_RegMethodsExecuted) { /* We will defer execution of the _REG methods for this space */ + goto UnlockAndExit; } break; |