ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()
authorInsu Yun <wuninsu@gmail.com>
Sat, 23 Jan 2016 20:44:19 +0000 (15:44 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Jan 2016 01:09:03 +0000 (02:09 +0100)
commit2c3033a0664dfae91e1dee7fabac10f24354b958
tree35273c034244785dd23bf9c7885979cd093f82e4
parentafd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()

In acpiphp_enable_slot(), there is a missing unlock path
when error occurred.  It needs to be unlocked before returning
an error.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp_glue.c