diff options
author | Hans de Goede <[email protected]> | 2022-12-08 15:23:34 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-12-08 17:42:12 +0100 |
commit | a5072078dbfaa9d70130805766dfa34bbb7bf2a7 (patch) | |
tree | d4e334afd372790f02a4c2cd257d9b742703e3c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | 0634033dd104da8bf3903ff9b7f57ae81c6e1640 (diff) |
ACPI: EC: Fix EC address space handler unregistration
When an ECDT table is present the EC address space handler gets registered
on the root node. So to unregister it properly the unregister call also
must be done on the root node.
Store the ACPI handle used for the acpi_install_address_space_handler()
call and use te same handle for the acpi_remove_address_space_handler()
call.
Reported-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions