ACPI / power: Release resource_lock after acpi_power_get_state() return error
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 15 Oct 2013 11:48:11 +0000 (19:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:26:42 +0000 (00:26 +0200)
commitd7d49012b917647794b6df33f4e7a61a2c818ccf
treee4462bfb43a179b578320b7b931d342fbc272bfc
parent35f9162d67c3e20a82b4bd6ec538f3e9c14fb055
ACPI / power: Release resource_lock after acpi_power_get_state() return error

In acpi_resume_power_resources() resource_lock should be released
when acpi_power_get_state() fails and before passing to next power
resource on the list.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/power.c