]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:44:36 +0000 (15:44 -0700)
commite096c11323250e95a85a63932f653bf1e6875b7f
tree325dabb9434c521ddb0bba6910bbaac1b63d51af
parent263af94dc31b1c0736177576bb4b6216b7c44dd1
ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()

Orabug: 23330792

[ Upstream commit 2c3033a0664dfae91e1dee7fabac10f24354b958 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit 9f4bab04f3788cd66b203c501fe30d093fe4d8d7)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/pci/hotplug/acpiphp_glue.c