]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit107aa5a6d551ddd51a12170e8d33ca9540e1fc24
tree6be1ec5b2fdd6e1f7842d15f610fd9955a574148
parent21aab9bf0a74fe94b3901843f4aac1c839f4218e
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