ACPI / scan: Always call acpi_bus_scan() for bus check notifications
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Jul 2013 00:01:53 +0000 (02:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 Jul 2013 23:26:18 +0000 (01:26 +0200)
commit8832f7e43fa7f0f19bd54e13766a825dd1ed4d6f
tree6be1ec5b2fdd6e1f7842d15f610fd9955a574148
parent3a391a39593b48341f0908511590a6c0e55cc069
ACPI / scan: Always call acpi_bus_scan() for bus check notifications

An ACPI_NOTIFY_BUS_CHECK notification means that we should scan the
entire namespace starting from the given handle even if the device
represented by that handle is present (other devices below it may
just have appeared).

For this reason, modify acpi_scan_bus_device_check() to always run
acpi_bus_scan() if the notification being handled is of type
ACPI_NOTIFY_BUS_CHECK.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Cc: 3.10+ <stable@vger.kernel.org>
drivers/acpi/scan.c