diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dsmethod.c')
-rw-r--r-- | drivers/acpi/dispatcher/dsmethod.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/dispatcher/dsmethod.c b/drivers/acpi/dispatcher/dsmethod.c index 279a5a60a0dd..77b7039a26e4 100644 --- a/drivers/acpi/dispatcher/dsmethod.c +++ b/drivers/acpi/dispatcher/dsmethod.c | |||
@@ -412,6 +412,9 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, | |||
412 | 412 | ||
413 | if (obj_desc->method.method_flags & AML_METHOD_INTERNAL_ONLY) { | 413 | if (obj_desc->method.method_flags & AML_METHOD_INTERNAL_ONLY) { |
414 | status = obj_desc->method.implementation(next_walk_state); | 414 | status = obj_desc->method.implementation(next_walk_state); |
415 | if (status == AE_OK) { | ||
416 | status = AE_CTRL_TERMINATE; | ||
417 | } | ||
415 | } | 418 | } |
416 | 419 | ||
417 | return_ACPI_STATUS(status); | 420 | return_ACPI_STATUS(status); |