diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-14 21:32:44 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-17 17:51:49 +0100 |
commit | 0de7fb7c8687048299305529d17f6a1e98ae658c (patch) | |
tree | fa46b733c61fd7f3033c8bda6b2f92cde3421bae /Kconfig | |
parent | 71da201f38dfb0c3a3d33bbe3168ea9112299dde (diff) | |
download | linux-0de7fb7c8687048299305529d17f6a1e98ae658c.tar.bz2 |
ACPI: scan: Avoid unnecessary second pass in acpi_bus_scan()
If there are no devices whose enumeration has been deferred after
the first pass in acpi_bus_scan(), the second pass is not necssary,
so avoid it with the help of a new static variable.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions