Skip to content
Commit e5c399b0 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Rafael J. Wysocki
Browse files

ACPI: GED: use correct trigger type field in _Exx / _Lxx handling



Commit ea6f3af4 ("ACPI: GED: add support for _Exx / _Lxx handler
methods") added a reference to the 'triggering' field of either the
normal or the extended ACPI IRQ resource struct, but inadvertently used
the wrong pointer in the latter case. Note that both pointers refer to the
same union, and the 'triggering' field appears at the same offset in both
struct types, so it currently happens to work by accident. But let's fix
it nonetheless

Fixes: ea6f3af4 ("ACPI: GED: add support for _Exx / _Lxx handler methods")
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ea6f3af4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment