ACPI / notify: Do not block unknown type notifications in root handler
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Apr 2014 17:27:49 +0000 (19:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Apr 2014 17:27:49 +0000 (19:27 +0200)
commitf66abe92ce498672ac44d550f51a526597c731c4
treed1938ba51ba9853b5c408984e1cd6f21bb2beca0
parenta798c10faf62a505d24e5f6213fbaf904a39623f
ACPI / notify: Do not block unknown type notifications in root handler

Commit 1a699476e258 "ACPI / hotplug / PCI: Hotplug notifications from
acpi_bus_notify()" changed the root notify handler, acpi_bus_notify(),
to block unknown type norifications, but it overlooked the fact that
they might be propagated to drivers via the ->notify() callback.

Fix the problem by allowing drivers to receive unknown type
notifications via ->notify() as before.

Fixes: 1a699476e258 (ACPI / hotplug / PCI: Hotplug notifications from acpi_bus_notify())
Reported-and-tested-by: Mantas Mikulėnas <grawity@gmail.com>
Reported-and-tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c