ACPI / bus: handle ACPI hotplug schedule errors completely
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 30 Jun 2017 07:25:38 +0000 (15:25 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2017 19:38:53 +0000 (21:38 +0200)
commit9a4d8d60df3bc26236fa9cc3bc806ff99e5e5625
tree1289b1cfc6ab2214fae1f636f66bf463047d50d9
parent6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c
ACPI / bus: handle ACPI hotplug schedule errors completely

Kernel should decrements the reference count of ACPI device
when the scheduling of ACPI hotplug work failed, and evaluates
_OST to notify BIOS the failure.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c