]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI / scan: Set the visited flag for all enumerated devices
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Apr 2017 22:23:42 +0000 (00:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Apr 2017 02:42:18 +0000 (04:42 +0200)
commitf406270bf73d71ea7b35ee3f7a08a44f6594c9b1
treefa4ecb66df617fb91e5f0f80bbd28bde58e02d47
parent39da7c509acff13fc8cb12ec1bb20337c988ed36
ACPI / scan: Set the visited flag for all enumerated devices

Commit 10c7e20b2ff3 (ACPI / scan: fix enumeration (visited) flags for
bus rescans) attempted to fix a problem with ACPI-based enumerateion
of I2C/SPI devices, but it forgot to ensure that the visited flag
will be set for all of the other enumerated devices, so fix that.

Fixes: 10c7e20b2ff3 (ACPI / scan: fix enumeration (visited) flags for bus rescans)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=194885
Reported-and-tested-by: Kevin Locke <kevin@kevinlocke.name>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: 4.8+ <stable@vger.kernel.org> # 4.8+
drivers/acpi/scan.c