diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-26 17:46:41 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-27 17:54:59 +0100 |
commit | 4f4a335acfbb72bd11185c97394b3c0890e72453 (patch) | |
tree | f1abf577b8ea713fc392a476e6983315564e3044 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 520c2286c222c0a6c9b366e9c2a6c42c3fc091ed (diff) |
ACPI: scan: Consolidate Device Check and Bus Check notification handling
There is no particular reason why device object subtree rescans in
acpi_scan_device_check() and acpi_scan_device_check() should be carried
out differently, so move the rescan code into a new function called
acpi_scan_rescan_bus() and make both the functions above invoke it.
While at it, in the Device Check case, start the device object subtree
rescan mentioned above from the target device's parent, as per the
specification. [1]
Link: https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#device-object-notification-values # [1]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions