diff options
author | 2024-08-12 15:11:42 +0200 | |
---|---|---|
committer | 2024-08-13 13:44:57 +0200 | |
commit | cdf65d73e001fde600b18d7e45afadf559425ce5 (patch) | |
tree | 0aab903ac62d6e085eec334e6ea6853c3b4cf88a /drivers/acpi/ec.c | |
parent | Revert "ACPI: EC: Evaluate orphan _REG under EC device" (diff) | |
download | wireguard-linux-cdf65d73e001fde600b18d7e45afadf559425ce5.tar.xz wireguard-linux-cdf65d73e001fde600b18d7e45afadf559425ce5.zip |
ACPICA: Add a depth argument to acpi_execute_reg_methods()
A subsequent change will need to pass a depth argument to
acpi_execute_reg_methods(), so prepare that function for it.
No intentional functional changes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Cc: All applicable <stable@vger.kernel.org>
Link: https://patch.msgid.link/8451567.NyiUUSuA9g@rjwysocki.net
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 68dd17f96f63..d9c12db80f11 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1506,7 +1506,7 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device, } if (call_reg && !test_bit(EC_FLAGS_EC_REG_CALLED, &ec->flags)) { - acpi_execute_reg_methods(scope_handle, ACPI_ADR_SPACE_EC); + acpi_execute_reg_methods(scope_handle, ACPI_UINT32_MAX, ACPI_ADR_SPACE_EC); set_bit(EC_FLAGS_EC_REG_CALLED, &ec->flags); } |