diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-07-28 14:05:19 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-29 12:19:45 +0200 |
commit | 460a53106ac39b74625d1104d9a113e0f3716c18 (patch) | |
tree | 731d9e5ce02caaf4c9534044f93469ce430ffd12 /drivers/acpi/acpi_video.c | |
parent | 73c2a01c52b657f4a0ead6c95f64c5279efbd000 (diff) |
ACPICA: AML Parser: ignore control method status in module-level code
Previous change in the AML parser code blindly set all non-successful
dispatcher statuses to AE_OK. That approach is incorrect, though,
because successful control method invocations from module-level
return AE_CTRL_TRANSFER. Overwriting AE_OK to this status causes the
AML parser to think that there was no return value from the control
method invocation.
Fixes: 92c0f4af386 (ACPICA: AML Parser: ignore dispatcher error status during table load)
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_video.c')
0 files changed, 0 insertions, 0 deletions